tmux: Start with base index as 1

Start numbering for panes and windows from 1, it is just convenient.
This commit is contained in:
Sanchayan Maity 2022-11-20 10:08:04 +05:30
parent 33b2d9bd12
commit 2e698be9d8

View file

@ -4,10 +4,10 @@ set-option -g prefix M-a
bind-key M-a send-prefix
# start with window 1 (instead of 0)
# set -g base-index 1
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}"