prompt vi mode support

This commit is contained in:
Loic Nageleisen 2013-12-13 09:39:33 +01:00
parent 14094949b4
commit 8aeccc8d94
2 changed files with 8 additions and 0 deletions

7
zsh/vi Normal file
View file

@ -0,0 +1,7 @@
#bindkey -v
# fix esc delay
KEYTIMEOUT=1
# fix esc swallow
bindkey -sM vicmd '^[' '^G'
# fix ^X shortcuts
bindkey -rM viins '^X'