add ctrl key fixes

This commit is contained in:
TymanWasTaken 2021-12-20 15:27:11 -05:00 committed by GitHub
parent 630baed5a1
commit 76f3753922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,4 +71,7 @@ fi
#---------------------------------------------------------------------------------#
### Fixes
export GPG_TTY=$(tty) # Fix gpg signing
bindkey '^H' backward-kill-word # Fix ctrl+backspace
bindkey "^[[1;5C" forward-word # Fix ctrl+→
bindkey "^[[1;5D" backward-word # Fix ctrl+←
#---------------------------------------------------------------------------------#