mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
tweak tmux appearance
This commit is contained in:
parent
9dbfcfe596
commit
019158a65b
1 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue