.zshrc: Fix Ctrl-arrow keys for forward/backword navigation
This commit is contained in:
parent
7859c22571
commit
067bbef8ef
4
.zshrc
4
.zshrc
@ -15,6 +15,10 @@ bindkey -e
|
|||||||
bindkey "^[[3~" delete-char
|
bindkey "^[[3~" delete-char
|
||||||
bindkey "^[3;5~" delete-char
|
bindkey "^[3;5~" delete-char
|
||||||
|
|
||||||
|
# make Ctrl-arrow work
|
||||||
|
bindkey "^[[1;5C" forward-word
|
||||||
|
bindkey "^[[1;5D" backward-word
|
||||||
|
|
||||||
# autocomplete
|
# autocomplete
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
Loading…
Reference in New Issue
Block a user