From fa3fd17e3edacdbc26ad21451f57b91dea1deb05 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 19 Nov 2020 18:28:11 +0530 Subject: [PATCH] tmux: Start panes with index 1 and allow selecting 10th pane --- tmux/.tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 4a7c8bb..9981d73 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -7,7 +7,7 @@ bind-key M-a send-prefix # set -g base-index 1 # start with pane 1 -# set -g pane-base-index 1 +set -g pane-base-index 1 # split panes using | and -, make sure they open in the same path bind | split-window -h -c "#{pane_current_path}" @@ -59,7 +59,6 @@ bind M command-prompt -p "Merge pane from:" "join-pane -s '%%'" bind e setw synchronize-panes on \; display "Synchronize panes ON (E: off)" bind E setw synchronize-panes off \; display "Synchronize panes OFF (e: on)" -bind -n M-0 select-window -t 0 bind -n M-1 select-window -t 1 bind -n M-2 select-window -t 2 bind -n M-3 select-window -t 3 @@ -69,6 +68,7 @@ bind -n M-6 select-window -t 6 bind -n M-7 select-window -t 7 bind -n M-8 select-window -t 8 bind -n M-9 select-window -t 9 +bind -n M-0 select-window -t 10 bind 0 select-pane -t 0 bind 1 select-pane -t 1