Overwrite a visual block with one character.

Section: Visual block editing

Replace a rectangular block

vim
vim
<C-v> ... rX
Explanation

Good for columnar status flags and tables.

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 Visual block editing
Insert at start of block
Add text to the start of many lines at once.
OpenIn sheetvimsame section
Append at end of block
Add text to the end of many lines.
OpenIn sheetvimsame section
Blockwise visual mode
Select a rectangular text block.
OpenIn sheetvim2 tag match
Characterwise visual mode
Select arbitrary text regions.
OpenIn sheetvim1 tag match
Paste after or before cursor
Put text from the default register.
OpenIn sheetvim1 tag match
Linewise visual mode
Select whole lines.
OpenIn sheetvim1 tag match