aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-10-01 14:00:03 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-10-01 14:00:03 +1300
commit4052bbedda6a1f1b861d31c02a7f13ac46a79cac (patch)
tree04b6c42d43f483374b74743da820764a1dedaad2 /tmux/tmux.conf
parentSimplify Bash version checks a bit more (diff)
downloaddotfiles-4052bbedda6a1f1b861d31c02a7f13ac46a79cac.tar.gz
dotfiles-4052bbedda6a1f1b861d31c02a7f13ac46a79cac.zip
Renumber tmux windows on window close
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf3
1 files changed, 3 insertions, 0 deletions
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