36 lines
917 B
Plaintext
36 lines
917 B
Plaintext
# setup 256 color
|
|
set -g default-terminal "screen-256color"
|
|
|
|
set -ga terminal-overrides ",st-256color:Tc"
|
|
|
|
# increase scrollback
|
|
set -g history-limit 10000
|
|
|
|
# set vim keybindings
|
|
setw -g mode-keys vi
|
|
|
|
# shorten command delay
|
|
set -s escape-time 0
|
|
|
|
# only resize window to smallest client if both
|
|
# connected sessions are viewing the same window
|
|
setw -g aggressive-resize on
|
|
|
|
# status bar configuration
|
|
|
|
set -g status-bg black
|
|
set -g status-fg white
|
|
|
|
set-option -g status-justify left
|
|
|
|
set-option -g status-left '#[fg=green][ #[bg=black,fg=green]#S #[fg=green]]['
|
|
|
|
set-window-option -g window-status-format '#[fg=white,dim] #I #[default]#W#[fg=grey,dim]#F '
|
|
set-window-option -g window-status-current-format '#[bg=red,fg=white,bold] #I #W#[fg=dim]#F '
|
|
|
|
set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%I:%M%p#[default] #[fg=green]]'
|
|
|
|
setw -g automatic-rename on
|
|
|
|
set -as terminal-overrides ',st*:Ss@'
|