add alt-left, fn-left/right keybinds

This commit is contained in:
Sebastian Tramp 2012-08-08 13:15:19 +02:00
parent 436e2d8b2c
commit bfe3b91526
No known key found for this signature in database
GPG key ID: E8093B579D601B44

View file

@ -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