macros Start recording by typing q followed by the register, e.g. q. (The command-line will signify this via "recording @q".) Stop recording by hitting q once again. Execute the macro via [count]@q. Repeat the last used macro via [count]@@.