4 ms·
Exactly. Or remap it to any key combination that makes sense for your work, if you like using Capslock for its original purpose, which I happen to. For example
by Tenhundfeld 9y ago
Exactly. Or remap it to any key combination that makes sense for your work, if you like using Capslock for its original purpose, which I happen to.
For example, I have jj and jk mapped to ESC. So I just tap j twice while in insert mode, and it switches to normal/command mode. If you find yourself needing to type jj or jk often in insert mode, just pick other letters that make sense for you.
To use mine, plop these in your .vimrc:
inoremap jj <Esc>
inoremap jJ <Esc>
inoremap jk <Esc>
- flukus 9y agoI do it with zz, which I find is consistent with ZZ (save and quit).