Emacs: Copy to Register

By Xah Lee. Date: . Last updated: .

Emacs has registers that let you to store any text.

To copy text to register:

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

Registers (Emacs Manual)

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]

Emacs Copy/Paste