Remove obsolete st \e[P binding for delete

Since we request application keypad mode, st sends \e[3~ instead which we
already decode.
This commit is contained in:
Johannes Altmanninger
2025-03-31 20:30:09 +02:00
parent 18e6074aa7
commit 415da8fc3b

View File

@@ -76,11 +76,6 @@ function fish_default_key_bindings -d "emacs-like key binds"
# term-specific special bindings
switch "$TERM"
case st-256color
# suckless and bash/zsh/fish have a different approach to how the terminal should be configured;
# the major effect is that several keys do not work as intended.
# This is a workaround, there will be additions in he future.
$legacy_bind --preset $argv \e\[P delete-char
case xterm-256color
# Microsoft's conemu uses xterm-256color plus
# the following to tell a console to paste: