zsh:keys: Shift-{,Back}space should act like w/o
This commit is contained in:
@@ -48,6 +48,15 @@ bindkey '^H' run-help
|
|||||||
bindkey '^E' edit-command-line
|
bindkey '^E' edit-command-line
|
||||||
bindkey '^S' vi-pound-insert
|
bindkey '^S' vi-pound-insert
|
||||||
|
|
||||||
|
# 'Fixed terminal input sequences'
|
||||||
|
#
|
||||||
|
# https://www.leonerd.org.uk/hacks/fixterms/
|
||||||
|
# https://www.leonerd.org.uk/code/libtermkey/
|
||||||
|
|
||||||
|
# shift-{,back}space should behave like without shift
|
||||||
|
bindkey -s '^[[32;2u' ' ' # shift-space -> space
|
||||||
|
bindkey -s '^[[127;2u' '^?' # shift-backspace -> backspace
|
||||||
|
|
||||||
## Navigation
|
## Navigation
|
||||||
bindkey "$terminfo[kcbt]" reverse-menu-complete # shift-tab
|
bindkey "$terminfo[kcbt]" reverse-menu-complete # shift-tab
|
||||||
bindkey "$terminfo[khome]" vi-beginning-of-line # home
|
bindkey "$terminfo[khome]" vi-beginning-of-line # home
|
||||||
|
|||||||
Reference in New Issue
Block a user