Normal Mode
Movement
Autonumbering Several Lines
- Type “1.” in every line.
- Select all of them with visual block. (
<C-v>
) -
g<C-a> for ascending | g<C-x> for descending |
Insert Mode
Command Mode
command-line Window
To open the command-line window (showing full command history in a buffer, which you can edit, then use to run a given line’s command):
Quickfix/Location List
Marks And Jumps
When jumping to a mark, there are two variants:
with '
, the jump is line-wise, to the first non-blank character on the line containing the mark
with `, the jump is character-wise, to the position of the mark within the line
Folding
#Visual Mode Commands
Enter using V:
Visual (block) Mode Commands
Enter using :
Mappings
Mappings Available in Command Mode
Special Mappings
Global Commands
Diff
Search
Ranges And Patterns
vim commands