categories
Every entry is filed into one of these ten categories. Click through to filter by topic, or narrow further by tag.
Editing003
Operators, registers, and the small motions that make up most of a working day.
.
Search & replace002
Finding things, changing them carefully, and knowing what you changed.
cgn
Navigation002
Moving through a file and back again without losing your place.
g;
Visual mode003
Selecting by character, line, and block, then acting on all of it.
<C-v>jjI
Global command003
The one command that runs another command on every matching line.
:v/pattern/d
Command-line003
Life below the last line of the buffer.
<C-r>=
Text objects002
Describing text by what it is instead of where the cursor is.
ci"
Files & buffers002
Reading, writing, and the awkward cases in between.
:r usage.txt
Undo history002
Vim remembers more than you would expect. Here is how to ask.
:earlier 1f
Formatting003
Wrapping, sorting, aligning, and indenting without leaving the editor.
:sort u