.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
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ set -s escape-time 0
# use vi-style key bindings
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
# connected to the *session*, constrain window size to the maximum size
# of any client connected to *that window*. Much more reasonable.