Miscellaneous Commands
Command | Action |
|---|---|
< | Shift text described by following motion command left by one shiftwidth. {vim} |
> | Shift text described by following motion command right by one shiftwidth. {vim} |
<< | Shift line left one shift width (default is eight spaces). |
>> | Shift line right one shift width (default is eight spaces). |
>} | Shift right to end of paragraph. |
<% | Shift left until matching parenthesis, brace, or bracket. (Cursor must be on the matching symbol.) |
= = | Indent line in C-style, or using program specified in equalprg option. {vim} |
g | Start many multiple character commands in vim. |
K | Look up word under cursor in manpages (or program defined in keywordprg). {vim} |
^O | Return to previous jump. {vim} |
q | Record keystrokes. {vim} |
^Q | Same as ^V. {vim} (On some terminals, resume data flow.) |
^T | Return to the previous location in the tag stack. (vim) |
^] | Perform a tag lookup on the text under the cursor. |
^\ | Enter ex line-editing mode. |
^^ | (Caret key with Ctrl key pressed) Return to previously edited file. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access