vi Cheat Sheet


There are two modes when using the vi editor: command and insert

When a file is first opened the editor starts in command mode.

To make changes to actual text enter insert mode.

Exit insert mode and switch back to command mode to save or exit.


Insert Mode

Command Mode

vi Cheat Sheet (last edited 2006-08-30 21:53:32 by Eric)