1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 09:07:12 -07:00

tweak tmux appearance

This commit is contained in:
Connor Olding 2019-06-05 17:41:25 -07:00
parent 9dbfcfe596
commit 019158a65b

View File

@ -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