tmux: index from 0 and always allow attach #292
@ -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