aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-25 11:24:28 +0800
committerAaron LI <aly@aaronly.me>2017-11-25 11:24:28 +0800
commitee1b32c42dabc1b66926083e2aa6328b6831b5bd (patch)
treeb75deef1df38a7eaee247b965be1e7656c45b402
parent6e3573295fafd25dbb1c0a5cfcf38e8327fe7be5 (diff)
downloaddotfiles-ee1b32c42dabc1b66926083e2aa6328b6831b5bd.tar.bz2
tmux.conf: Tweak style/format a bit
-rw-r--r--_tmux.conf18
1 files 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"