editor/vim/ VimRecording
To record
q <key> keystrokes q
if you want to end in normal mode. If you want to end in insert mode,
q <key> keystrokes Ctrl-O q
Example
qaiself.<esc>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.
.