Vim Macros
- Allow you to record a series of commands and replay them again later
- Press
q
in normal mode along with a letter to record a macro with that letter's name. - The macro name can be any letter.
- Press
@a
to run macroa
- Press
@@
to run the last macro.