How do macros work?
Keyboard/command macros can be defined from the Edit menu. Once you start a macro recording session, an editor will capture all keystrokes and commands that it receives until the macro recording is stopped. Macros can only be recorded within a single editor window but can be played in any window. Details on using this feature are found in the manual.