option tmux3.7c
base-index
Set the base index from which an unused index should be searched when a new window is created.
- Scope
- session
- Type
- Number
- Default
0- Values
- 0 to 2147483647
- Set
-
set-optionbase-index value - Read
-
show-optionsbase-index
Description
Set the base index from which an unused index should be searched when a new window is created. The default is zero.
Releases
Source
- Defined in
options-table.c:578- C source reference
options_table- CLI manual
- Original manual entry
Used by
Library documentation that names this option.
- Raku
LibTmux::Catalogue- Haskell
LibTmux.Creation.NextFree- Python
libtmux.pytest_plugin.config_file- TypeScript
types.NewWindowOptions.index- Rust
options.generated.BASE_INDEX- Go
tmux.GlobalSessionScope.SetBaseIndex,tmux.MoveWindowRequest.Renumber,tmux.ServerOptions.ConfigFile,tmux.Session.SetBaseIndex,tmux.SessionOptionValues.BaseIndex- C++
libtmux::Window::index