From 8c9713cb71d761755df6c2e53f6fc8e271b194d8 Mon Sep 17 00:00:00 2001 From: Stefan Herold <794372+Blackjacx@users.noreply.github.com> Date: Fri, 10 Nov 2023 17:02:49 +0100 Subject: [PATCH] [tmux] Start windows and panes at 1 --- bootstrap/dotfiles/.tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap/dotfiles/.tmux.conf b/bootstrap/dotfiles/.tmux.conf index 0fadba5..71c8331 100644 --- a/bootstrap/dotfiles/.tmux.conf +++ b/bootstrap/dotfiles/.tmux.conf @@ -25,6 +25,10 @@ set -g mouse on unbind -n MouseDrag1Pane unbind -Tcopy-mode MouseDrag1Pane +# Start windows and panes at 1, not 0 +set -g base-index 1 +setw -g pane-base-index 1 + # Some extra key bindings to select higher numbered windows bind F1 selectw -t:10 bind F2 selectw -t:11