Vim Recall繁體中文

Enter Virtual Replace mode

gR

Example

Normal 0 / 3
  old blue
Cursor on line 1, column 4

Enter Virtual Replace mode.

Before & after
Before
  old blue
Cursor on line 1, column 4
After
  onewblue
Cursor on line 1, column 6

Start 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.