1st_noiz ([info]1st_noiz) wrote,
@ 2009-10-29 20:25:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
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.


Advertisement


(Read 3 comments)

Post a comment in response:

From:
Help
Identity URL: 
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
   Help
Message:
 
Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…