add: tmux: prefix & copy indicator

source: man tmux
This commit is contained in:
qwjyh 2023-03-14 12:13:08 +09:00
parent 882282edec
commit c1146378de

View file

@ -31,10 +31,18 @@ set -g base-index 1
# start pane index at 1 # start pane index at 1
setw -g pane-base-index 1 setw -g pane-base-index 1
set-option -g pane-border-indicators both
set-option -g pane-border-lines heavy
# ----------------------------------------------- # -----------------------------------------------
# status line configs # status line configs
set-option -g monitor-bell on
set-option -g status-interval 1
set-option -g status-left '#[bg=colour156 bold]#{?client_prefix,#[reverse] P #[noreverse],#{?copy_cursor_x,#[bg=colour216] C , P }}#[bg=default nobold][#S] ' # indicates prefix and copy status
set-option -g status-left-length 15
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-option -g status-right-length 90
#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*"