To record a temporary macro, do one of the following:
The cursor will now have a little red "record" sign in it when it is hovering over a text document. This means you are recording a macro: all of your text editing actions, such as typing, cut, copy, paste, delete, join lines, undo and redo, etc. are being recorded!
When you are done, you should stop recording your macro, or you will likely run out of memory.
See also: End recording macros, Recording macros, Playing back macros