tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

renumber-windows

If on, when a window is closed in a session, automatically renumber the other windows in numerical order.

Scope
session
Type
Flag (on or off)
Default
off
Set
set-option renumber-windows value
Read
show-options renumber-windows

Description#

If on, when a window is closed in a session, automatically renumber the other windows in numerical order. This respects the base-index option if it has been set. If off, do not renumber the windows.

Releases#

Source#

Defined in
options-table.c:790
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Rust
options.generated.RENUMBER_WINDOWS
Go
tmux.GlobalSessionScope.SetRenumberWindows, tmux.Session.SetRenumberWindows, tmux.SessionOptionValues.RenumberWindows
Esc

Type to search.

Reference preview Open reference