Created
December 4, 2022 21:38
-
-
Save MaxAnderson95/00835946943e74afe21f5dcd4ac08489 to your computer and use it in GitHub Desktop.
Proper zsh keybindings for arrow navigation. Place in your .zshrc file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### ctrl+arrows | |
bindkey "\e[1;5C" forward-word | |
bindkey "\e[1;5D" backward-word | |
# urxvt | |
bindkey "\eOc" forward-word | |
bindkey "\eOd" backward-word | |
### ctrl+delete | |
bindkey "\e[3;5~" kill-word | |
# urxvt | |
bindkey "\e[3^" kill-word | |
### ctrl+backspace | |
bindkey '^H' backward-kill-word | |
### ctrl+shift+delete | |
bindkey "\e[3;6~" kill-line | |
# urxvt | |
bindkey "\e[3@" kill-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment