Reuse your previous inserted text
<C-a> in Insert mode
Example
Insert mode after “note: ”, including its trailing space. Previous completed insertion: ready only.
note: - <C-a> note: ready · stays in Insert mode
note: readyDetails & Vim help
Insert the text from the previous insertion again.
Repeat a short phrase at a new insertion point.
Insert-mode Ctrl-a differs from Normal-mode Ctrl-a, which increments numbers. The stored insertion can contain editing actions; keep the previous insert simple when you want predictable text reuse.
Assumes the previous insertion was “ready” and the current Insert-mode cursor is at the line end.
Try it in Vim
- Insert a phrase and leave Insert mode with <Esc>.
- Start a new insertion at the destination.
- Press Ctrl-a to insert the previous inserted text and remain in Insert mode.