Add control arrow keys to zsh
This commit is contained in:
parent
915bde542c
commit
537af1f5cc
|
|
@ -51,6 +51,10 @@ in
|
||||||
# Tab to accept current selection
|
# Tab to accept current selection
|
||||||
bind-key -M menuselect '^I' accept-and-infer-next-history
|
bind-key -M menuselect '^I' accept-and-infer-next-history
|
||||||
|
|
||||||
|
# Control arrow keys
|
||||||
|
bindkey '^[[1;5C' forward-word
|
||||||
|
bindkey '^[[1;5D' backward-word
|
||||||
|
|
||||||
# Load fzf keybindings
|
# Load fzf keybindings
|
||||||
if [ -n "''${commands[fzf-share]}" ]; then
|
if [ -n "''${commands[fzf-share]}" ]; then
|
||||||
source "$(fzf-share)/key-bindings.zsh";
|
source "$(fzf-share)/key-bindings.zsh";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue