.tmux.conf: Set window index to 1

I'm all for zero-based indexes, but this doesn't really make sense
on the keyboard as the numbers start at 1. :)

Great tip from https://mutelight.org/practical-tmux
This commit is contained in:
Alan Orth 2013-05-06 23:23:19 +03:00
parent f1b3556e69
commit f558eb4b39

View File

@ -82,6 +82,9 @@ set -s escape-time 0
# use vi-style key bindings # use vi-style key bindings
set-option -g mode-keys vi set-option -g mode-keys vi
# start numbering windows a 1
set -g base-index 1
# Rather than constraining window size to the maximum size of any client # Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size # connected to the *session*, constrain window size to the maximum size
# of any client connected to *that window*. Much more reasonable. # of any client connected to *that window*. Much more reasonable.