tmux: index from 0 and always allow attach
All checks were successful
flake / flake (push) Successful in 1m14s
All checks were successful
flake / flake (push) Successful in 1m14s
This commit is contained in:
parent
462f0eecf4
commit
6bdaca40e0
@ -8,3 +8,11 @@ bind -n C-k clear-history
|
|||||||
bind '"' split-window -c "#{pane_current_path}"
|
bind '"' split-window -c "#{pane_current_path}"
|
||||||
bind % split-window -h -c "#{pane_current_path}"
|
bind % split-window -h -c "#{pane_current_path}"
|
||||||
bind c new-window -c "#{pane_current_path}"
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
# Start indices at 1 to match keyboard
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
|
# Open a new session when attached to and one isn't open
|
||||||
|
# Must come after base-index settings
|
||||||
|
new-session
|
||||||
|
Loading…
Reference in New Issue
Block a user