TIL: Macro Registers in Vim
The registers used for recording macros in vim are actually just the normal registers!
That means that you can record a macro, then print it to the buffer, fix issues, and yank it back to the register.
For instance, if I record a simple macro, like
qa2dw, I can print it back out with
"ap and get
If I then edit that text to read
3dw and yank it to register
"ay, the macro will perform