Enter Virtual Replace mode
gR
Example
Normal 0 / 3Virtual Replace 1 / 3Virtual Replace 2 / 3Normal 3 / 3 old blueCursor on line 1, column 4 old blueCursor on line 1, column 4 onewblueCursor on line 1, column 7 onewblueCursor on line 1, column 6Enter Virtual Replace mode.
Virtual Replace mode · next text overwrites characters
Virtual Replace mode · next text overwrites characters
Command applied
Before & after
old blueCursor on line 1, column 4 onewblueCursor on line 1, column 6Start in Normal mode. The displayed replacement text is typed explicitly, followed by Esc.
Details & Vim help
Example replayed in Vim
Enter Virtual Replace mode. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.