next up previous
Next: Moving around the file: Up: No Title Previous: No Title

Some useful vi commands

In vi, there are two modes: command and insert mode. Command mode is for moving around and doing various things to the file (deleting lines, etc.) Insert mode is for just that--inserting text into the file. You can't move well in insert mode, as I'm sure you'll discover. You get out of insert by hitting the <Esc> (escape) key.