From f59c530d18b8ea12f1e4465e5a6bc10603785f94 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 3 Oct 2022 11:18:32 +0900 Subject: [PATCH] add: tmux.conf :window index start from 1 --- dotfiles/tmux.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index ccc3388..53ac9a3 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -9,6 +9,15 @@ bind-key -T prefix h split-window -h set-option -g default-command fish +# start window index at 1 +set -g base-index 1 + +# start pane index at 1 +setw -g pane-base-index 1 + + +# ----------------------------------------------- +# status line configs set-option -g status-right "#[bg=colour156] #T | %y/%m/%d %H:%M:%S" #set-window-option -g window-status-format "#[bg=green]#I:#W-" # default set-window-option -g window-status-current-format "#[bg=colour156]#I:#W*"