Start recording keystrokes into a register.

Section: Macros

Record a macro

vim
vim
qq
Explanation

Start with `q{register}` and press `q` again to stop.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Macros
Play a macro
Execute a recorded macro once or many times.
OpenIn sheetvimsame section
Repeat last macro
Run the last-executed macro again.
OpenIn sheetvimsame section
Run a macro over a range
Apply a macro to every line in a selected range.
OpenIn sheetvimsame section
Search forward
Find the next match after the cursor.
OpenIn sheetvim1 tag match
Substitute on current line
Replace matches only on the current line.
OpenIn sheetvim1 tag match
Search backward
Search upward through the file.
OpenIn sheetvim1 tag match