Vim Recall繁體中文

Virtual replace the count chars with {char}

gr{char}

Example

Normal 0 / 1
one two
Cursor on line 1, column 1

Virtual replace the count chars with {char}.

Before & after
Before
one two
Cursor on line 1, column 1
After
Xne two
Cursor on line 1, column 1

Start in Normal mode. Replace {char} with X; all characters occupy one screen cell.

Details & Vim help

Example replayed in Vim

Virtual replace the count chars with {char}. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.