add alt-left, fn-left/right keybinds
This commit is contained in:
parent
436e2d8b2c
commit
bfe3b91526
|
@ -11,6 +11,12 @@ bindkey "^[[1;5D" .backward-word
|
|||
bindkey "^[[1;5C" .forward-word
|
||||
bindkey "^[[1;6D" backward-delete-word
|
||||
bindkey "^[[1;6C" delete-word
|
||||
# alt+left (on mac) deletes word
|
||||
bindkey "^[" backward-kill-word
|
||||
# fn-left
|
||||
bindkey "^[[H" .backward-word
|
||||
# fn-right
|
||||
bindkey "^[[F" .forward-word
|
||||
|
||||
# arrow up/down searches in history if line is already started
|
||||
bindkey '^[[A' up-line-or-search
|
||||
|
|
Loading…
Reference in a new issue