Updated: 07 October 2025
- Type
qnto record a macro into registern. - Type
qto stop recording the macro. - Type
@nto run the macro in registern.
The list of commands which make up the macro are stored in the n register. If the macro needs to be edited, paste it with "np. Then, after editing, select it and copy back into the register with "ny.
Use @@ to repeat the last macro.