How do you paste a register value into the search prompt?
/<C-r>a
While in the search prompt (/), press a to insert the contents of register a.
/<C-r>a
While in the search prompt (/), press a to insert the contents of register a.
"a]p
Use ]p after specifying a register to paste with adjusted indentation.
<C-r>a
In insert mode, press followed by the register name.
"0p in visual mode
When you paste over a visual selection with p, Vim replaces the selection with the register contents — but it also puts the deleted selection into the unnamed
"-p
The small delete register ("-) captures text from delete operations that are less than one line — like dw, x, dt.
"0p
Register 0 (the yank register) always contains the text from your most recent yank command — and unlike the unnamed register, it is never overwritten by delet
<C-r><C-o>"
The {register} sequence in insert mode pastes register contents literally — without triggering auto-indentation, abbreviations, or mappings.
"1p ... "2p ... "9p
Vim maintains a numbered register history from "1 through "9 that stores your last 9 deletes and changes.
viwp
The viwp command visually selects the word under the cursor and replaces it with the contents of the unnamed register (your last yank or delete).
visual-mode #editing #visual-mode #registers #paste #productivity
`[v`]
The ` [v] sequence visually selects the exact region of text that was last changed, pasted, or yanked into the buffer.
visual-mode #editing #visual-mode #marks #paste #productivity
"1p then u.u.u.
Vim stores your last 9 deletions (of one line or more) in the numbered registers "1 through "9.
registers #registers #editing #normal-mode #undo-redo #paste
"ayy ... "ap
Named registers let you store multiple pieces of text independently.