Revert "tmux: Start panes with index 1 and allow selecting 10th pane"

This reverts commit fa3fd17e3e.
This commit is contained in:
Sanchayan Maity 2021-03-05 21:12:36 +05:30
parent 87e5ddeb37
commit 0fb60d9204

View file

@ -7,7 +7,7 @@ bind-key M-a send-prefix
# set -g base-index 1 # set -g base-index 1
# start with pane 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 # split panes using | and -, make sure they open in the same path
bind | split-window -h -c "#{pane_current_path}" bind | split-window -h -c "#{pane_current_path}"
@ -59,6 +59,7 @@ 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 on \; display "Synchronize panes ON (E: off)"
bind E setw synchronize-panes off \; display "Synchronize panes OFF (e: on)" 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-1 select-window -t 1
bind -n M-2 select-window -t 2 bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3 bind -n M-3 select-window -t 3
@ -68,7 +69,6 @@ bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7 bind -n M-7 select-window -t 7
bind -n M-8 select-window -t 8 bind -n M-8 select-window -t 8
bind -n M-9 select-window -t 9 bind -n M-9 select-window -t 9
bind -n M-0 select-window -t 10
bind 0 select-pane -t 0 bind 0 select-pane -t 0
bind 1 select-pane -t 1 bind 1 select-pane -t 1