Overwrite one character without entering insert mode.
Section: Counts, join, undo, and replace
Replace a single character
vim
vim
rXExplanation
Fast for typo fixes and punctuation changes.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Counts, join, undo, and replace