diff options
author | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-02-19 22:09:28 -0500 |
---|---|---|
committer | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-02-19 22:09:28 -0500 |
commit | f4d45858b9772ad041e8ee853d4ab46c89910356 (patch) | |
tree | 1ab03f21b059a03e247bfc59e9006898033ab388 | |
parent | ac0112f834bd0f40fb90eaedc877a6ab45393c54 (diff) |
cleaning up keybindings
-rw-r--r-- | zsh/key-bindings.zsh | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/zsh/key-bindings.zsh b/zsh/key-bindings.zsh index b63a68b..263ec4f 100644 --- a/zsh/key-bindings.zsh +++ b/zsh/key-bindings.zsh @@ -1,22 +1,8 @@ -# TODO: figure these out +#done -autoload -U compinit -compinit -i +bindkey -e # use emacs mode +bindkey '^r' history-incremental-search-backward # ctrl-r +bindkey '^[[Z' reverse-menu-complete # shift-tab -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 - -bindkey "^[[H" beginning-of-line -bindkey "^[[1~" beginning-of-line -bindkey "^[[F" end-of-line -bindkey "^[[4~" end-of-line -bindkey ' ' magic-space # also do history expansion on space - -bindkey '^[[Z' reverse-menu-complete - -bindkey "\e[3~" delete-char # make sure delete key works +bindkey '\e[3~' delete-char # make sure delete key works +bindkey ' ' magic-space # also do history expansion on space |