summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-23 15:30:11 +0800
committerZhineng Li <im@zhineng.li>2026-07-23 15:30:11 +0800
commit50d9b183fcd9c3dafa9cb0efd2c1a06e52a20a72 (patch)
treef5862c12a0b8e695249a0ac40281f02326a4a813
parent05fd3636c04b19da65d3c00a8d71593243d69fa8 (diff)
downloaddotfiles-50d9b183fcd9c3dafa9cb0efd2c1a06e52a20a72.tar.gz
dotfiles-50d9b183fcd9c3dafa9cb0efd2c1a06e52a20a72.zip
renumber windows automatically
-rw-r--r--.tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 1ed550d..d6df056 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -24,6 +24,9 @@ bind l select-pane -R
set -g base-index 1
set -g pane-base-index 1
+# Renumber windows after one is closed
+set -g renumber-windows on
+
# Show the clock on the right side of the status line
set -g status-right '%H:%M'