Comment by Izkata

6 days ago

Related to that, macros are just recorded into normal registers. You can get it out with:

  "qp

Edit it, and put it back into the register with

  "qdd

Heads up - you should use "qD instead of "qdd to avoid an extra newline at the end of the register contents. (In fact the current Vim 9.1.954 behavior seems a bit odd in that it moves the cursor down, but not to the start of the line, as if j is pressed... Seems like a bug to me.)

  • And D goes from cursor to end of line instead of the whole line. Wasn't sure how complicated I wanted the description to be.