Mercurial > dotfiles.old
comparison 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 |
comparison
equal
deleted
inserted
replaced
150:de8d4246c8fe | 151:87498dbd779a |
---|---|
1 # To see the key combo you want to use just do: | |
2 # cat > /dev/null | |
3 # And press it | |
4 | |
5 bindkey "^K" kill-whole-line # ctrl-k | |
6 bindkey "^R" history-incremental-search-backward # ctrl-r | |
7 bindkey "^A" beginning-of-line # ctrl-a | |
8 bindkey "^E" end-of-line # ctrl-e | |
9 bindkey "[B" history-search-forward # down arrow | |
10 bindkey "[A" history-search-backward # up arrow | |
11 bindkey "^D" delete-char # ctrl-d | |
12 bindkey "^F" forward-char # ctrl-f | |
13 bindkey "^B" backward-char # ctrl-b | |
14 bindkey -e # Default to standard emacs bindings, regardless of editor string | |
15 # bind UP and DOWN arrow keys | |
16 bindkey '^[[A' history-substring-search-up | |
17 bindkey '^[[B' history-substring-search-down |