ZSH Config: add ctrl+arrrow keys for word navigation
This commit is contained in:
parent
2eee8ff406
commit
d722430c2f
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ if [[ "${terminfo[kend]}" != "" ]]; then
|
|||
bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line
|
||||
fi
|
||||
bindkey '^[[2~' overwrite-mode # Insert key
|
||||
|
||||
# Navigate words with ctrl+arrow keys
|
||||
bindkey '^[Oc' forward-word #
|
||||
bindkey '^[Od' backward-word #
|
||||
bindkey '^[[1;5D' backward-word #
|
||||
bindkey '^[[1;5C' forward-word #
|
||||
####################################################################################################################################################
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue