vi Quick Reference

This information is not Rocket’s D3 documentation. It is reprinted from UNIX vi Quick Reference as reference material only.

The vi Quick Reference lists the most commonly used vi commands.

NOTE

vi is a case sensitive editor. The command A is different from the command a.

To invoke vi, type:

vi file.name

These topics are presented:

Insert Mode

In insert mode, the keyboard behaves like a typewriter.

Command Mode

In command mode, keystrokes perform functions such as moving the cursor, searching for patterns, or quitting from the document.