Add previously inserted text and stop insert
Ctrl-@
Example
Insert 0 / 1Normal 1 / 1redoneInsertion point on line 1, column 7redoneredCursor on line 1, column 9Add previously inserted text and stop insert.
Vim registers
.Last inserted text register- Characterwise
red
Add previously inserted text and stop insert
Vim registers
.Last inserted text register- Characterwise
red
Before & after
redoneInsertion point on line 1, column 7Vim registers
.Last inserted text register- Characterwise
red
redoneredCursor on line 1, column 9Vim registers
.Last inserted text register- Characterwise
red
Start in Insert mode. red was inserted in a completed earlier insertion; this command reuses Vim's last-inserted text.
Details & Vim help
Example replayed in Vim
Add previously inserted text and stop insert. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.