Fix timeout issues for fast insert mode mappings - escape then x vs alt-x
bew opened this issue · comments
Benoit de Chezelles commented
When in normal mode, it's ok to have a long timeoutlen
(~1s), but when in insert mode, sometimes I want to do escape then b, and sometimes I want to do Alt-b. And since Alt is encoded as escape, there is no way the terminal can disambiguate the 2 without relying on timeout.
The idea would be to have a long timeoutlen in normal mode and a short one in insert mode.
NOTE: I already tried that in zsh, but had a few issues (I should try again now?)
Benoit de Chezelles commented
Not worth fixing.. Don't remember this being a big problem in practice..