To record ``` q keystrokes q ``` if you want to end in *normal mode*. If you want to end in *insert mode*, ``` q keystrokes Ctrl-O q ``` Example ``` qaiself.q ``` will record a macro that inserts `self.` and returns to normal mode. To play back a recording: ``` @a ``` to play back our example that inserts `self.`.