Vim Recall繁體中文

Enter replace mode: overtype existing characters, repeat the entered text the count-1 times

R

Example

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

Enter replace mode: overtype existing characters, repeat the entered text the count-1 times.

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 replace mode: overtype existing characters, repeat the entered text the count-1 times. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.