Windows should be indexed from 1

...to align better with keyboard
This commit is contained in:
Grayson Koonce 2015-07-27 22:36:40 -07:00
parent cd7faa8bba
commit e6ef5dca86

View File

@ -77,6 +77,10 @@ main() {
if server_option_value_not_changed "escape-time" "500"; then if server_option_value_not_changed "escape-time" "500"; then
tmux set-option -s escape-time 0 tmux set-option -s escape-time 0
fi fi
# index windows from 1 to align better with keyboard
set -g base-index 1
setw -g pane-base-index 1
# increase scrollback buffer size # increase scrollback buffer size
if option_value_not_changed "history-limit" "2000"; then if option_value_not_changed "history-limit" "2000"; then