From 4052bbedda6a1f1b861d31c02a7f13ac46a79cac Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 1 Oct 2015 14:00:03 +1300 Subject: Renumber tmux windows on window close --- tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 76f22b2c..cf9113d0 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -86,6 +86,9 @@ set-option -g status-right ' [#H] #(date +"%F %T")' # The first window in a session has index 1, rather than 0 set-option -g base-index 1 +# Renumber the windows when one is closed +set-option -g renumber-windows on + # Don't worry about timeouts for key combinations, as I don't use Escape as # meta and prefer things to be snappier set-option -g escape-time 0 -- cgit v1.2.3