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
1
zsh/rc
1
zsh/rc
|
|
@ -8,6 +8,7 @@ set_term_title # call it right now
|
||||||
|
|
||||||
source $DOTFILES_ZSH_DIR/history
|
source $DOTFILES_ZSH_DIR/history
|
||||||
source $DOTFILES_ZSH_DIR/keybindings
|
source $DOTFILES_ZSH_DIR/keybindings
|
||||||
|
source $DOTFILES_ZSH_DIR/vi
|
||||||
source $DOTFILES_ZSH_DIR/completion
|
source $DOTFILES_ZSH_DIR/completion
|
||||||
source $DOTFILES_ZSH_DIR/prompt
|
source $DOTFILES_ZSH_DIR/prompt
|
||||||
source $DOTFILES_ZSH_DIR/bundler
|
source $DOTFILES_ZSH_DIR/bundler
|
||||||
|
|
|
||||||
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