From ee1b32c42dabc1b66926083e2aa6328b6831b5bd Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 25 Nov 2017 11:24:28 +0800 Subject: tmux.conf: Tweak style/format a bit --- _tmux.conf | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/_tmux.conf b/_tmux.conf index 3a5fb07..fe19b6e 100644 --- a/_tmux.conf +++ b/_tmux.conf @@ -33,8 +33,10 @@ # Aaron LI # 2015-01-22 # -# 2017-09-04 : Tweak and fix several mistakes; more tweaks -# 2017-09-03 : Rewrite; drop plugins (with TPM)... +# 2017-11-25: Tweak styles/format +# 2017-11-21: Increase scrollback history +# 2017-09-04: Tweak and fix several mistakes; more tweaks +# 2017-09-03: Rewrite; drop plugins (with TPM)... # # Start window and pane numbering at 1 @@ -164,8 +166,10 @@ set -g status-justify centre set -g status-left-length 30 set -g status-right-length 30 set -g status-style "bg=default,bold" -set -g status-left " #[fg=yellow]#h:#[fg=blue]#S #[fg=magenta]>>#[default]" -set -g status-right "#[fg=magenta]<< #[fg=yellow]%a %m/%d #[fg=blue]%H:%M " +set -g status-left \ + "#[fg=magenta][#[fg=yellow]#h:#[fg=blue]#S#[fg=magenta]]#[default]" +set -g status-right \ + "#[fg=magenta][#[fg=yellow]%a %b %d #[fg=blue]%H:%M#[fg=magenta]]" # If running inside tmux ($TMUX is set), then change the status line to red #if-shell -b '[ -n "$TMUX" ]' "set -g status-bg red" @@ -175,8 +179,10 @@ setw -g window-status-separator " " setw -g window-status-style "fg=blue,bold" setw -g window-status-current-style "fg=blue,bold,reverse" setw -g window-status-bell-style "fg=red,bold" -setw -g window-status-format "#I:#{=10:window_name}#F" -setw -g window-status-current-format "#[fg=yellow]#I:#[fg=blue]#W#[fg=green]#F#[default]" +setw -g window-status-format \ + "#[fg=yellow]#I:#[default]#{=10:window_name}#F" +setw -g window-status-current-format \ + "#[fg=yellow]#I:#[fg=blue]#W#[fg=green]#F#[default]" # Window mode setw -g mode-style "fg=yellow,bg=default,bold" -- cgit v1.2.2