dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 993225cc9380118634821c4666b90534d4fca8a3
parent 05564ff033ac6758f70f6a85b08d8d5a8c56728b
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 29 Jun 2025 15:01:56 -0700

tmux: auto-renumber windows on close

Defrags window numbering when a window is closed.

Diffstat:
M.config/tmux/tmux.conf | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf @@ -12,6 +12,11 @@ set-option -g focus-events on # Disable mouse. set-option -g mouse off +# Automatically renumber windows on close. +set-option -g base-index 1 +set-window-option -g pane-base-index 1 +set-window-option -g renumber-windows on + # Disable automatic window renaming. set-window-option -g automatic-rename off