R
The
Command
The R command in Vim
Command
replace mode
Enter Replace mode — each keystroke overwrites the character under cursor. Backspace restores the original character.
Examples
R(enter replace mode)<Esc>(exit replace mode)
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related commands