On Mac, you can type vim (Vi Improved) more correctly :)
As elsewhere, i switches to "INSERT" mode, and ESC switches to command mode.
A good learning resource for Vim is included on the Mac. Just enter vimtutor and it will teach you quickly how to use vim efficiently.
Another editing option for mac is nano , a command line text editor that is much easier for those familiar with TextEdit / Notepad.
Justin meiners
source share