4 ms·
You can reduce the lag of using <Esc> with: set timeout timeoutlen=1000 ttimeoutlen=10
by ibiza 10y ago
You can reduce the lag of using <Esc> with:
set timeout timeoutlen=1000 ttimeoutlen=10
- kough 10y agoVery cool trick, thanks for sharing. Is there any reason I wouldn't want this?
- jks 10y agoArrow and function keys are mapped to escape sequences, so if you use vi over a slow or unreliable connection your arrow keys could randomly get interpreted as escape followed by some commands.
- z1mm32m4n 10y agotimeoutlen is also used by leader key combos, and things like gg, fx, etc. If you drop your timeoutlen, make sure you can still combo these fast enough for them to register.