Usage
Press q followed by a key that will represent the register it will be stored. It will record all key presses until you quit with q.
To run the macro, press @ + the register of the macro.
To run the last command-line, press @:.
Example
Create: qa → 10j → q
Run: @a