mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
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:
@@ -76,11 +76,6 @@ function fish_default_key_bindings -d "emacs-like key binds"
|
|||||||
|
|
||||||
# term-specific special bindings
|
# term-specific special bindings
|
||||||
switch "$TERM"
|
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
|
case xterm-256color
|
||||||
# Microsoft's conemu uses xterm-256color plus
|
# Microsoft's conemu uses xterm-256color plus
|
||||||
# the following to tell a console to paste:
|
# the following to tell a console to paste:
|
||||||
|
|||||||
Reference in New Issue
Block a user