diff options
Diffstat (limited to '_zsh/50-bindkeys.zsh')
-rw-r--r-- | _zsh/50-bindkeys.zsh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/_zsh/50-bindkeys.zsh b/_zsh/50-bindkeys.zsh new file mode 100644 index 0000000..c53d3bf --- /dev/null +++ b/_zsh/50-bindkeys.zsh @@ -0,0 +1,24 @@ +# +# zsh/bindkeys.zsh +# +# 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 + +# see zshcontrib(1) +autoload -U select-word-style +# bash-style word killing: word characters are alphanumeric characters only +select-word-style bash + +# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # |