Vim — operations I forget¶
Macros¶
Visual block mode¶
Ctrl-v to enter, select region, then I to insert at start of every line, A to append at end. Escape to apply.
Substitute across files¶
Marks¶
ma sets mark a at the current position. 'a jumps to that line, `a jumps to the exact position. Uppercase marks (mA) are global across files.