From c1146378de590906efa32e7cb99552c696441198 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Tue, 14 Mar 2023 12:13:08 +0900 Subject: [PATCH] add: tmux: prefix & copy indicator source: man tmux --- dotfiles/tmux.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index 633040b..106c2a4 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -31,10 +31,18 @@ set -g base-index 1 # start pane index at 1 setw -g pane-base-index 1 +set-option -g pane-border-indicators both +set-option -g pane-border-lines heavy + # ----------------------------------------------- # 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-length 90 #set-window-option -g window-status-format "#[bg=green]#I:#W-" # default set-window-option -g window-status-current-format "#[bg=colour156]#I:#W*"