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

How do you record a macro into a specific named register?

Answer

qa...q

Explanation

Press q followed by a lowercase letter (a-z) to start recording into that register. All keystrokes are captured until you press q again.

Next

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