add: tmux.conf :window index start from 1

This commit is contained in:
qwjyh 2022-10-03 11:18:32 +09:00
parent 0e3bd31cf6
commit f59c530d18

View file

@ -9,6 +9,15 @@ bind-key -T prefix h split-window -h
set-option -g default-command fish 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-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-format "#[bg=green]#I:#W-" # default
set-window-option -g window-status-current-format "#[bg=colour156]#I:#W*" set-window-option -g window-status-current-format "#[bg=colour156]#I:#W*"