From af7704ef069c272a09ceca99e281008b31e8a6a8 Mon Sep 17 00:00:00 2001 From: LetMeByte <90835558+LetMeByte@users.noreply.github.com> Date: Fri, 22 Oct 2021 21:21:25 +0000 Subject: [PATCH] Fix st issue with shift+tab (#8354) --- share/functions/fish_default_key_bindings.fish | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index 1416d2d6f..b1f71d11d 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -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