Reputation: 121294
Apparently Mac keyboards don't have an Insert key (or maybe they do but I can't find it). How can I get to insert mode in vim on a Mac?
Upvotes: 123
Views: 107390
Reputation: 39181
Enter Insert Mode: press i
Exit Insert Mode: press esc, type :x
Upvotes: 8
Reputation: 7797
If this is as simple a question as it seems, you merely press i.
Upvotes: 261
Reputation: 545508
Vim enters the insert mode using i (or a for append), regardless of platform. Overwrite mode is only rarely entered using Shift+r. I've never used the Insert key here.
Upvotes: 21
Reputation: 27961
The other use of the Insert key is to switch between replace-mode and insert-mode when already in either. You can accomplish this easily on the Mac by just mapping another key to do this for you. In your ~/.vimrc
just put imap <F13> <Insert>
and now the F13 key (which on my Mac keyboard is the closest key to where the Insert key is on a regular keyboard).
Upvotes: 10