diff --git a/etc/tmux.conf b/etc/tmux.conf index b96fdaf..42aaaa3 100644 --- a/etc/tmux.conf +++ b/etc/tmux.conf @@ -3,19 +3,26 @@ set-option -g set-titles on set-window-option -g automatic-rename on bind-key C-a last-window bind-key a send-prefix -set -g pane-border-status top -set -g display-panes-colour yellow -set -g mouse off -set -g base-index 1 -set -s escape-time 0 -setw -g aggressive-resize on -setw -g monitor-activity on -set -g visual-activity on -set -g status-left ' #[fg=blue,bold]#h #S:#I.#P (#D) #[default]' -set -g status-right '#T #[fg=yellow,bold]#(uptime | cut -d, -f4 | cut -d " " -f 4-7)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default] ' set -g status-fg '#EEEEEE' set -g status-bg '#333333' +set -g pane-border-status top +set -g display-panes-colour '#334400' +set -g mouse off +set -s escape-time 0 +set -g visual-activity on +set -g status-left ' #[fg=blue,bold]#h #S:#I.#P (#D) #[default]' +set -g status-right '#T #[fg=yellow,bold]#(uptime -p)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default] ' set -g set-titles on +setw -g aggressive-resize on +setw -g monitor-activity on + +# Refresh status line every 5 seconds +set -g status-interval 5 + +# Start window and pane indices at 1. +set -g base-index 0 +set -g pane-base-index 0 + bind-key e set-window-option synchronize-panes on bind-key E set-window-option synchronize-panes off bind m set -g mouse on \; display 'Mouse: ON'