Emacs: Copy to Register

By Xah Lee. Date: . Last updated: .

Emacs has registers that let you store text.

To copy text to register:

Register name can be any single letter a to z or single digit 0 to 9.

💡 TIP: If you have text that you frequently want to paste, such as templates, a better solution is to use emacs abbrevs. [Emacs: Abbrev Mode by Lisp Code]

Reference

Emacs Copy/Paste