2020-03-28 11:40:37 +00:00
|
|
|
unbind r
|
|
|
|
# Reload with ctrl-r
|
2020-03-28 12:01:30 +00:00
|
|
|
bind r source-file /etc/tmux.conf \; source-file ~/.tmux.conf \; display "Reloaded!"
|
2020-03-28 11:40:37 +00:00
|
|
|
|
|
|
|
bind C-a send-prefix # Pass on ctrl-a for other apps
|
|
|
|
|
|
|
|
# Status bar
|
|
|
|
set -g status on
|
|
|
|
set -g status-interval 10
|
|
|
|
set -g status-left '[tmux ${node.name}] '
|
|
|
|
set -g status-left-length ${len(node.name)+10}
|
|
|
|
set -g status-right " „#{pane_title}“ %Y-%m-%d %H:%M UTC"
|
|
|
|
|
|
|
|
# Numbering starts at 1
|
|
|
|
set -g base-index 1
|
|
|
|
setw -g pane-base-index 1
|
|
|
|
|
|
|
|
# Activity monitoring
|
|
|
|
setw -g monitor-activity on
|
|
|
|
set -g visual-activity on
|
|
|
|
|
|
|
|
set-option -g default-shell $SHELL
|
|
|
|
set -g default-terminal "tmux-256color"
|
|
|
|
|
|
|
|
set-option -g renumber-windows on
|
|
|
|
|
|
|
|
#### COLOUR (Solarized dark)
|
|
|
|
set-option -g status-bg black #base02
|
|
|
|
set-option -g status-fg yellow #yellow
|
|
|
|
set-option -g status-style default
|
|
|
|
set-window-option -g window-status-style fg=brightblue,bg=default
|
|
|
|
set-window-option -g window-status-activity-style fg=green,bg=default,none
|
|
|
|
set-window-option -g window-status-current-style fg=brightred,bg=default,none
|
|
|
|
set-option -g pane-border-style fg=black
|
|
|
|
set-option -g pane-active-border-style fg=brightgreen
|
|
|
|
set-option -g message-style bg=black,fg=brightred
|
|
|
|
set-option -g display-panes-active-colour blue #blue
|
|
|
|
set-option -g display-panes-colour brightred #orange
|
|
|
|
set-window-option -g clock-mode-colour green #green
|