| 1st_noiz ( @ 2009-10-29 20:25:00 |
prevent vim from going to replace mode / запретить vim переходить в режим замены
Simpliest trick on the block. Took me long time to figure out.
imap <Insert> <Nop>
And that's it. Now regardless of how many times you press Insert in command mode - or whether in insert mode already - you will be/remain in insert mode.
Of course, you still can go to replace mode by pressing R in command mode.
Simpliest trick on the block. Took me long time to figure out.
imap <Insert> <Nop>
And that's it. Now regardless of how many times you press Insert in command mode - or whether in insert mode already - you will be/remain in insert mode.
Of course, you still can go to replace mode by pressing R in command mode.