diff --git a/home/tmux.conf b/home/tmux.conf index a528542..b24d243 100644 --- a/home/tmux.conf +++ b/home/tmux.conf @@ -1,7 +1,7 @@ -# set status bar appearance -set -g status-bg black -set -g status-fg white -set -g window-status-current-fg green +# tweak colors used by tmux +set -g status-style bg=cyan,fg=black +set -g window-status-current-style bg=black,fg=white +set -g mode-style bg=cyan # replace default prefix key set -g prefix C-Space @@ -16,12 +16,18 @@ setw -g mode-keys vi set -sg escape-time 0 # automatically set terminal titles (not tmux windows) -# TODO: instead of this ugly thing, is there a way to let title codes passthru? -set-option -g set-titles on +set -g set-titles on +set -g set-titles-string '#T' + +# set right-hand status line text, default: "#{=21:pane_title}" %H:%M %d-%b-%y +set -g status-right "#{=21:pane_title} %R %B %e, '%y " # increase scrollback lines from 2000 set -g history-limit 10000 +# increase message time from 750ms +set -g display-time 2500 + # jump into copy-mode for Shift+PgUp, scroll half a page instead of a full page # switching modes is not ideal but it's the only way to scroll within tmux bind -n S-PgUp copy-mode \; send-keys -X halfpage-up