Vim Insert Mode on Mac OS X
MacosVimMacos Problem Overview
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?
Macos Solutions
Solution 1 - Macos
If this is as simple a question as it seems, you merely press i.
Solution 2 - Macos
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.
Solution 3 - Macos
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).
Solution 4 - Macos
Pressing "i" brings you into insert mode within VIM.
Solution 5 - Macos
Enter Insert Mode: press i
Exit Insert Mode: press esc, type :x