From 666d3399fceff88572111536c1cef364ac5f05d9 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Thu, 31 Aug 2023 18:07:31 +0530 Subject: [PATCH] tmux: start windows at index 0 --- .config/tmux/tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 7d862ec..c6d5dad 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,5 +1,7 @@ -# Start windows and panes at 1, not 0 -set -g base-index 1 +# Start windows at 0 and panes at 1 +# This is done because, I run a few items that "log" to the console on headless +# machines, so having those run on window 0 gives me a total of 10 panes, 9 usable +set -g base-index 0 setw -g pane-base-index 1 # for Neovim, idk why