From b85c48cc3f62898b3546feef9584880d64dcd184 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 16 Dec 2020 13:59:22 +0100 Subject: [PATCH] [tmux]: renumber windows to always keep a gapless order. --- .tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index d17f634..e2a5d6c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,6 +3,8 @@ set-option -g default-terminal "screen-256color" # Enumerate windows from 1 set -g base-index 1 +# Renumber windows when one is closed to keep a gapless order +set-option -g renumber-windows on # Lower escape-time in vim # see https://github.com/neovim/neovim/wiki/FAQ#esc-in-tmux-or-gnu-screen-is-delayed