From f558eb4b3984fbc50679097599533a522409bca9 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 6 May 2013 23:23:19 +0300 Subject: [PATCH] .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 --- .tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 337d994..96c655b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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.