tmux: Start with base index as 1
Start numbering for panes and windows from 1, it is just convenient.
This commit is contained in:
parent
33b2d9bd12
commit
2e698be9d8
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@ set-option -g prefix M-a
|
||||||
bind-key M-a send-prefix
|
bind-key M-a send-prefix
|
||||||
|
|
||||||
# start with window 1 (instead of 0)
|
# start with window 1 (instead of 0)
|
||||||
# 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}"
|
||||||
|
|
Loading…
Reference in a new issue