Named Registers
"aโ"z โ your 26 personal slots. Capitals append.
Lowercase "aโ"z are 26 named registers you write to explicitly. Uppercase "Aโ"Z append to the same registers instead of overwriting.
26 lowercase letters give you 26 named registers. Pick one with "{letter} before an operator: "ayy yanks the line into register a. "ap pastes it back.
| Key | Note |
|---|---|
| " | |
| a | |
| y | |
| y |
| Key | Note |
|---|---|
| " | |
| a | |
| p |
| Key | Note |
|---|---|
| " | |
| A | |
| y | |
| y |
Worked example โ "ay and "ap
Use named register a.
Named registers a-z survive subsequent yanks. Use them for stable clipboard slots.
See also: Registers, The Unnamed Register, Recording and Playing Macros