4 ms·
I'm going to try this: inoremap jj <Esc> I normally use C-c. Is there a way to make the time between j...j to be really short? Like the delay for it to count a
by orthecreedence 14y ago
I'm going to try this: inoremap jj <Esc>
I normally use C-c. Is there a way to make the time between j...j to be really short? Like the delay for it to count as a double press? I'd like to reduce any chance of accidental typing (although I can't see any reason I'd type "jj" a lot).
- grayrest 14y agoThe setting applies to all maps. :help timeoutlen
- mattkirman 14y agoYou could probably try setting timeoutlen to something like 500 milliseconds (or whatever feels comfortable). Bear in mind though that this is a global setting.
- weaksauce 14y agoyes you can set the timeout delay to be something very small see :help timeoutlen. It defaults to 1000ms but you are free to change it. If you are typing in insert mode and you press j it will delay but if you press another key that is not bound to anything after j it will just insert the j and the other key.