Vim Recipes Preliminaries Conventions

Conventions

The following typographical conventions are used in this book:

Key Presses

<Esc> - Indicates that the named key should be pressed.

<Ctrl>-p - Keys joined with a - should be pressed simultaneously. In this example the <Ctrl> should be held down while the p key is pressed.

Normal Mode Commands

gqap - The named characters should be entered in order while in Normal mode.

Command-Line Commands

:set spell - The command should be typed in Command-Line mode. (If you're in a different mode, press <Esc> before you type the command).

:!command - As above, but command is a variable which should be substituted for its value.

Monospaced Font

A fixed width font is used for filenames, code, and variable names.