Force a redraw of the display
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Force a redraw of the display.
Rendered screen
- Buffer model
red blue- Screen
red ???? (corrupted terminal cells)
Command entered · ready to apply
Rendered screen
- Buffer model
red blue- Screen
red ???? (corrupted terminal cells)
Clears and redraws the screen immediately. This repairs rendered terminal cells while the buffer model remains red blue.
Rendered screen
- Buffer model
red blue- Screen
red blue (cleared and redrawn)
Before & after
Before
Rendered screen
- Buffer model
red blue- Screen
red ???? (corrupted terminal cells)
After
Rendered screen
- Buffer model
red blue- Screen
red blue (cleared and redrawn)
Subject: :redraw. Documentation-backed illustration; assumes legacy command context and terminal display corruption only; not replay-verified. Clears and redraws the screen immediately. This repairs rendered terminal cells while the buffer model remains red blue.
red blueCursor on line 1, column 1Details & Vim help
Force a redraw of the display. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :redr[aw] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.