Last Updated: February 27, 2021
·
5.194K
· endel

zsh vi-mode: no delay entering normal mode

# VI-mode
bindkey -v

# 10ms for key sequences
KEYTIMEOUT=1

Credits: https://github.com/pda/dotzsh/blob/master/keyboard.zsh#L10

4 Responses
Add your response

I use tmux on top of iterm. Do you know of any particular +'s for using zsh in your work flow? I'm curious as I see this shell listed a few times in people's repos. Thanks for the tip

over 1 year ago ·

This has been bugging me for a while. Thanks a lot!

over 1 year ago ·

This is amazing :)

over 1 year ago ·

Yap, this is one of solution, but would cause some other problems and probably bugging you and make you unhappy, for better experiences with the near-native vi(vim) mode, I just created this plugin ( zsh-vi-mode ) and maybe you would fall in love it, anyway, if this were helpful, why not give it a STAR and LIKE? : )

over 1 year ago ·