mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Fix st issue with shift+tab (#8354)
This commit is contained in:
parent
f817dc7a76
commit
af7704ef06
1 changed files with 4 additions and 3 deletions
|
@ -112,10 +112,11 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
|
|||
# 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 but the major effect is that delete doesn't work.
|
||||
# just work around that for now
|
||||
# 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.
|
||||
bind --preset $argv \e\[P delete-char
|
||||
bind --preset $argv \e\[Z up-line
|
||||
case 'rxvt*'
|
||||
bind --preset $argv \e\[8~ end-of-line
|
||||
bind --preset $argv \eOc forward-word
|
||||
|
|
Loading…
Reference in a new issue