diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | tmux.conf | 35 |
2 files changed, 21 insertions, 17 deletions
diff --git a/Makefile b/Makefile index 0f1190d..e941970 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,8 @@ INSTALL = \ bashrc \ emacs.d \ gitconfig \ - gitignore + gitignore \ + tmux.conf INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL)) diff --git a/tmux.conf b/tmux.conf index 57cdddc..6c77707 100644 --- a/tmux.conf +++ b/tmux.conf @@ -5,23 +5,31 @@ bind C-t send-prefix set -s escape-time 1 -# Color -set-option -g default-terminal xterm +# colors +set -g default-terminal "screen-256color" + +# messaging +set -g message-bg colour167 +set -g message-fg white # View set-option -g status-interval 5 set-option -g status-left-length 16 set-option -g status-right-length 50 -set-option -g status-bg colour41 -set-option -g status-fg colour232 -set-option -g status-attr bold -set-option -g status-left '[%H:%M]' -set-option -g status-right '[#h###S:#I:#P]' -set-option -g status-right-fg red -set-option -g status-right-bg white -set-window-option -g window-status-current-bg white -set-window-option -g window-status-current-attr bold +setw -g window-status-format " #W " +set-option -g status-bg colour240 +set-option -g status-fg white + +set -g status-left '' + +set-option -g status-right '[%H:%M]' +set-option -g status-right-fg white +set-option -g status-right-bg colour232 + +setw -g window-status-current-format " #W " +set-window-option -g window-status-current-bg colour250 +set-window-option -g window-status-current-fg black # move pain like Vim bind h select-pane -L @@ -41,7 +49,6 @@ bind o last-pane # Option set-window-option -g mode-keys vi -set-window-option -g automatic-rename off # resize pain bind -r H resize-pane -L 2 @@ -49,8 +56,4 @@ bind -r L resize-pane -R 2 bind -r J resize-pane -D 2 bind -r K resize-pane -U 2 -# logging -bind-key Q pipe-pane "exec cat >> $HOME/tmux-#S-#W-#I.log" \; display-message 'Started logging to tmux-#S-#W-#I.log' -bind-key q pipe-pane \; display-message 'Finish logging to tmux-#S-#W-#I.log' - bind i display-panes |