mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
prompt vi mode support
This commit is contained in:
parent
14094949b4
commit
8aeccc8d94
2 changed files with 8 additions and 0 deletions
7
zsh/vi
Normal file
7
zsh/vi
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue