Vim Recall繁體中文

Replace the count chars with {char}

r{char}

Example

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

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.

Details & Vim help

Example replayed in Vim

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.