vimtricks.wiki Concise Vim tricks, one at a time.

How do you edit a previously recorded macro in Vim?

Answer

:let @a='<C-r>a'

Explanation

Paste the macro register contents with :let @a=' followed by <C-r>a to insert the current contents, edit them, and close the quote.

Next

How do you yank a single word into a named register?