1
0
Fork 0

customs/key-bindings.zsh: added

pull/678/head
tokiclover 10 years ago
parent 55eec45f69
commit cd96842c39

@ -0,0 +1,11 @@
if zstyle -t ':prezto:module:editor' key-bindings 'emacs' 'vi'; then
for keymap in 'emacs' 'viins'; do
bindkey -M "$keymap" "\EOw" beginning-of-line
bindkey -M "$keymap" "\EOq" end-of-line
bindkey -M "$keymap" "\EOt" backward-char
bindkey -M "$keymap" "\EOv" forward-char
bindkey -M "$keymap" "\EOx" up-line-or-history
bindkey -M "$keymap" "\EOr" down-line-or-history
done
fi
unset keymap
Loading…
Cancel
Save