Tip19: Overwrite Existing Text with Replace Mode

January 12, 2021 ยท View on GitHub

Replace mode: is identical to Insert mode, except that it overwrites existing text in the document.

R

From Normal mode, we can engage Replace mode with R, just overwrite the character under the cursor position.

tip19

Overwrite Tab Characters with Virtual Replace Mode

gR

goto Virtual Replace Mode and treat the tab character as though it consisted of spaces.

r{char}, gr{char}

overwrite a single character in Replace mode and Virtual Replace mode.

Tip18 Tip20