From 29925e9750007a67d8655371285287f577ee2d09 Mon Sep 17 00:00:00 2001 From: Johannes Merz Date: Thu, 21 Sep 2023 14:51:19 +0200 Subject: [PATCH] Update tmux/.tmux.conf --- tmux/.tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e070940..ccb3032 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -3,6 +3,10 @@ set-option -g default-terminal "screen-256color" set -g pane-border-status +# reorder window numbers when a window is deleted +# [0 1 2] -- [delete 1] --> [0 1] instead of [0 2] +set-option -g renumber-windows on + bind c new-window -c "#{pane_current_path}" bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}"