4 ms·
I don't remember where I found it but the best remapping I ever did was to map the sequence 'kj' to esc. kj is rarely used in a word, and when it is it isn't a
by marcrosoft 14y ago
I don't remember where I found it but the best remapping I ever did was to map the sequence 'kj' to esc.
kj is rarely used in a word, and when it is it isn't a big deal.
inoremap kj <Esc>
- mmozuras 14y agoThat's useful indeed - I have both kj and jk mapped to Esc in my vimrc. https://github.com/mmozuras/vimfiles/blob/master/vimrc#L75 https://github.com/mmozuras/vimfiles/blob/master/vimrc#L75
- pilgrim689 14y agoInteresting, I always did jj, but kj or jk feels speedier. Thanks for the tip!