Force a redraw of the tabpanel
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Force a redraw of the tabpanel.
Tabpanel
- Custom format
tabpanel includes %{g:phase}- g:phase
2- Last rendered value
1
Command entered · ready to apply
Tabpanel
- Custom format
tabpanel includes %{g:phase}- g:phase
2- Last rendered value
1
Re-evaluates and redraws the tabpanel, so the stale value 1 becomes 2 without editing text.
Tabpanel
- Custom format
tabpanel includes %{g:phase}- g:phase
2- Last rendered value
2
Before & after
Before
Tabpanel
- Custom format
tabpanel includes %{g:phase}- g:phase
2- Last rendered value
1
After
Tabpanel
- Custom format
tabpanel includes %{g:phase}- g:phase
2- Last rendered value
2
Subject: :redrawtabpanel. Documentation-backed illustration; assumes +tabpanel, a visible custom tabpanel containing %{g:phase}; after a script changed g:phase to 2 without scheduling panel redraw, leaving the rendered value 1; no other panel redraw pending or interfering input/callbacks; not replay-verified. Re-evaluates and redraws the tabpanel, so the stale value 1 becomes 2 without editing text.
notesCursor on line 1, column 1Details & Vim help
Force a redraw of the tabpanel. 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 :redrawtabp[anel] 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.