From 0a83eab57e78fd73d799cce70e5f9b1b258d555f Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Fri, 5 Jan 2024 12:18:14 +0100 Subject: [PATCH] reordering the indices naturally when killing pane in tmux --- ansible/roles/tmux/files/tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/tmux/files/tmux/tmux.conf b/ansible/roles/tmux/files/tmux/tmux.conf index b983178..a1fb664 100644 --- a/ansible/roles/tmux/files/tmux/tmux.conf +++ b/ansible/roles/tmux/files/tmux/tmux.conf @@ -9,6 +9,9 @@ set -g base-index 1 # Start panes at index 1 instead of 0 set -g pane-base-index 1 +# Ensures that panes get reordered correctly when killing panes +set-option -g renumber-windows on + # VI-mode set-window-option -g mode-keys vi set-window-option -g status-keys vi