|Left, down, up, right (, , , ).|
|Forward, backward by word.|
|End of word.|
|Beginning of next, previous sentence.|
|Beginning of next, previous paragraph.|
|Beginning of next, previous section.|
|[RETURN]||First non-blank character of next line.|
|First, last position of current line.|
|First non-blank character of current line.|
|First non-blank character of next, previous line.|
|Column n of current line.|
|Top line of screen.|
|Middle line of screen.|
|Last line of screen.|
|n (number) of lines after top line.|
|n (number) of lines before last line.|
|[CTRL-F], [CTRL-B]||Scroll forward, backward one screen.|
|[CTRL-D], [CTRL-U]||Scroll down, up one-half screen.|
|[CTRL-E], [CTRL-Y]||Show one more line at bottom, top of window.|
|Reposition line with cursor: to top of screen.|
|Reposition line with cursor: to middle of screen.|
|Reposition line with cursor: to bottom of screen.|
|[CTRL-L]||Redraw screen (without scrolling).|
|Search forward for pattern.|
|Search backward for pattern.|
|Repeat last search in same, opposite direction.|
|Repeat previous search forward, backward.|
|Search forward for character x in current line.|
|Search backward for character x in current line.|
|Search forward to character before x in current line.|
|Search backward to character after x in current line.|
|Repeat previous current-line search.|
|Repeat previous current-line search in opposite direction.|
|[CTRL-G]||Display current line number.|
|Move to line number n.|
|Move to last line in file.|
|Move to line n in file.|
|Mark current position as x.|
|Move cursor to mark x.|
|Return to previous mark or context.|
|Move to beginning of line containing mark x.|
|Return to beginning of line containing previous mark.|
|Insert text before, after cursor.|
|Insert text before beginning, after end of line.|
|Open new line for text below, above cursor.|
|Change current line.|
Change text between the cursor and the target of motion.
|Change to end of line.|
|Type over (overwrite) characters.|
|Substitute: delete character and insert new text.|
|Substitute: delete current line and insert new text.|
|Delete character under cursor.|
|Delete character before cursor.|
|Delete current line.|
Delete text between the cursor and the target of motion.
|Delete to end of line.|
|Put deleted text after, before cursor.|
Put text from delete buffer number n after cursor (for last nine deletions).
|Yank (copy) word.|
|Yank current line.|
Yank current line into named
Yank text between the cursor and the target of motion.
|Put yanked text after, before cursor.|
|Put text from buffer |
|Repeat last edit command.|
|Undo last edit; restore current line.|
|Join two lines.|
|ex edit commands|
|Delete from current line to end of file.|
|Move lines 30 through 60 to top of file.|
Copy from current line through line containing pattern to end of file.
|Write (save) the file if modified, and quit file.|
|Write (save) the file if modified, and quit file.|
|Write (save) the file unconditionally, and quit file.|
|Write (save) file.|
|Write (save) file, overriding protection.|
|:||Write from line 30 through line 60 as newfile.|
Write from line 30 through line 60 and append to file.
|Write current buffer named file as file.new.|
|Quit file, overriding protection.|
|Quit vi and invoke ex.|
|Edit file2 without leaving vi.|
Read contents of newfile into current file.
|Edit next file.|
|Return to version of current file at time of last write (save).|
|Edit alternate file.|
|Invoke vi editor from ex.|
|Invoke one ex command from vi editor.|
|Current filename (substitutes into ex command line).|
|Alternate filename (substitutes into ex command line).|
Look up the location of the identifier under the cursor in the tags file, and move to that location. If tag stacking is enabled, the current location is automatically pushed onto the tag stack.
Return to the previous location in the tag stack, i.e., pop off one element.
Invoke vi editor on file.
|Invoke vi editor on files sequentially.|
Invoke vi editor on file in read-only mode.
|Invoke vi editor on file in read-only mode.|
Recover file and recent edits after a crash.
Look up tag and start editing at its definition.
Set the window size to n; useful over a slow connection.
|Open file at last line.|
Open file directly at line number n.
Open file, execute command, which is usually a search command or line number (POSIX).
Open file directly at pattern.
|Invoke ex editor on file.|
Invoke ex editor on file, taking commands from script; suppress informative messages and prompts.
Invoke ex editor on file, taking commands from script; suppress informative messages and prompts (POSIX).
Define keystroke x as a command sequence. x can be multiple characters.
Define x as command sequence for insert mode.
|Disable the map x.|
|Disable the insert mode map x.|
Abbreviate phrase as abbr; when abbr is typed in insert mode, it expands to full words or phrases.
|Disable abbreviation abbr.|
Assign value to option.
|Display options set by user.|
Display list of all current option settings, both default and those set by the user.
|Display value of option.|
|Return to editor from shell.|
|Give UNIX command.|
Filter lines n to m through UNIX command.
Read output of UNIX command into current file.
 In .exrc files, omit the colon at the start of ex commands.