From a00dfe5a08a25b61c106ab9a9bb4ba1d29bfe7e1 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 29 Nov 2012 16:45:57 +0900 Subject: [PATCH] update mode-fg, mode-bg --- tmux.conf | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tmux.conf b/tmux.conf index 9a59b80..6ecc53c 100644 --- a/tmux.conf +++ b/tmux.conf @@ -22,23 +22,30 @@ set -g status-right "${USER}@#H | #(tmux -V) " set message-bg black set message-fg yellow +# default-color set -g status-bg green set -g status-fg white +set -g mode-bg white +set -g mode-fg black + if "test `hostname` = arch-aspireone" \ - "set -g status-bg blue; set -g pane-active-border-fg blue" + "set -g status-bg blue; set -g status-fg white; \ + set -g mode-bg blue; set -g mode-fg white; \ + set -g pane-active-border-fg blue;" if "test `hostname` = darwin-mba.local" \ - "set -g status-bg yellow; set -g pane-active-border-fg yellow; set -g status-fg black" + "set -g status-bg yellow; set -g status-fg black; \ + set -g mode-bg yellow; set -g mode-fg black; \ + set -g pane-active-border-fg yellow;" if "test `hostname` = newkiwi" \ - "set -g status-bg magenta; set -g pane-active-border-fg magenta" + "set -g status-bg magenta; set -g status-fg white; \ + set -g mode-bg magenta; set -g mode-fg white; \ + set -g pane-active-border-fg magenta;" -# window-status-current +# face of currently active window name in status bar setw -g window-status-current-fg black setw -g window-status-current-bg white setw -g window-status-current-attr bold -set -g mode-bg white -set -g mode-fg black - # this does not work because it runs asyncly # if "test -n \"tmux display -p '#{client_termname}' | grep -o 256color\"" \ # "set -g default-terminal screen-256color" "set -g default-terminal screen"