35 lines
877 B
Plaintext
35 lines
877 B
Plaintext
# setup 256 color
|
|
set -g default-terminal "screen-256color"
|
|
|
|
# increase scrollback
|
|
set -g history-limit 10000
|
|
|
|
# utf8 support
|
|
set-window-option -g utf8 on
|
|
|
|
# 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
|