Mercurial > dotfiles.old
diff zsh/bindkeys.zsh @ 151:87498dbd779a
Move away from oh-my-zsh
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 20 Oct 2014 21:49:21 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zsh/bindkeys.zsh Mon Oct 20 21:49:21 2014 +0200 @@ -0,0 +1,17 @@ +# To see the key combo you want to use just do: +# cat > /dev/null +# And press it + +bindkey "^K" kill-whole-line # ctrl-k +bindkey "^R" history-incremental-search-backward # ctrl-r +bindkey "^A" beginning-of-line # ctrl-a +bindkey "^E" end-of-line # ctrl-e +bindkey "[B" history-search-forward # down arrow +bindkey "[A" history-search-backward # up arrow +bindkey "^D" delete-char # ctrl-d +bindkey "^F" forward-char # ctrl-f +bindkey "^B" backward-char # ctrl-b +bindkey -e # Default to standard emacs bindings, regardless of editor string +# bind UP and DOWN arrow keys +bindkey '^[[A' history-substring-search-up +bindkey '^[[B' history-substring-search-down