ZSH Config: add left right key navigation
This commit is contained in:
parent
8ca28dc983
commit
27089d85c3
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ if [[ "${terminfo[kend]}" != "" ]]; then
|
||||||
fi
|
fi
|
||||||
bindkey '^[[2~' overwrite-mode # Insert key
|
bindkey '^[[2~' overwrite-mode # Insert key
|
||||||
bindkey '^[[3~' delete-char # Delete key
|
bindkey '^[[3~' delete-char # Delete key
|
||||||
|
bindkey '^[[C' forward-char # Right key
|
||||||
|
bindkey '^[[D' backward-char # Left key
|
||||||
|
|
||||||
# Navigate words with ctrl+arrow keys
|
# Navigate words with ctrl+arrow keys
|
||||||
bindkey '^[Oc' forward-word #
|
bindkey '^[Oc' forward-word #
|
||||||
|
|
Loading…
Reference in a new issue