diff options
author | James Smith <james@loopj.com> | 2012-07-24 13:39:07 -0700 |
---|---|---|
committer | James Smith <james@loopj.com> | 2012-07-24 13:39:07 -0700 |
commit | 772bc51c3a2372592c400e0d4e159a0128989ba2 (patch) | |
tree | 191af002e272ce95418910b9c0ea63443e48e681 /lib/key-bindings.zsh | |
parent | 0ba398f9e1aaf05e72406d5c840f013eebb6b260 (diff) | |
parent | d05b2010ffd4cd33ff9402c402051b1caf985d97 (diff) | |
download | zsh-772bc51c3a2372592c400e0d4e159a0128989ba2.tar.gz zsh-772bc51c3a2372592c400e0d4e159a0128989ba2.tar.bz2 zsh-772bc51c3a2372592c400e0d4e159a0128989ba2.zip |
Merge
Diffstat (limited to 'lib/key-bindings.zsh')
-rw-r--r-- | lib/key-bindings.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh index 9c2dda35a..5f499f3e8 100644 --- a/lib/key-bindings.zsh +++ b/lib/key-bindings.zsh @@ -3,7 +3,6 @@ bindkey -e bindkey '\ew' kill-region bindkey -s '\el' "ls\n" -bindkey -s '\e.' "..\n" bindkey '^r' history-incremental-search-backward bindkey "^[[5~" up-line-or-history bindkey "^[[6~" down-line-or-history @@ -14,10 +13,15 @@ bindkey '^[[B' down-line-or-search bindkey "^[[H" beginning-of-line bindkey "^[[1~" beginning-of-line +bindkey "^[OH" beginning-of-line bindkey "^[[F" end-of-line bindkey "^[[4~" end-of-line +bindkey "^[OF" end-of-line bindkey ' ' magic-space # also do history expansion on space +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word + bindkey '^[[Z' reverse-menu-complete # Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~ |