diff --git a/bundles/users/files/tmux.conf b/bundles/users/files/tmux.conf index f114c2d..3b76880 100644 --- a/bundles/users/files/tmux.conf +++ b/bundles/users/files/tmux.conf @@ -1,28 +1,33 @@ -unbind r -# Reload with ctrl-r -bind r source-file /etc/tmux.conf \; source-file ~/.tmux.conf \; display "Reloaded!" - bind C-a send-prefix # Pass on ctrl-a for other apps +set-option -g set-titles on +set-option -g set-titles-string '#W [#(logname)@${node.name}]' + # Status bar set -g status on set -g status-interval 10 set -g status-left '[#(logname)@${node.name}] ' -set -g status-left-length ${len(node.name)+10} -set -g status-right " „#{pane_title}“ %Y-%m-%d %H:%M UTC" +set -g status-left-length 100 +set -g status-right "%Y-%m-%d %H:%M" # Numbering starts at 1 set -g base-index 1 setw -g pane-base-index 1 +set-option -g renumber-windows on # Activity monitoring setw -g monitor-activity on set -g visual-activity on +# Terminal set-option -g default-shell $SHELL set -g default-terminal "tmux-256color" -set-option -g renumber-windows on +# Keybindings +bind-key -n M-Left select-pane -L +bind-key -n M-Right select-pane -R +bind-key -n M-Up select-pane -U +bind-key -n M-Down select-pane -D #### COLOUR (Solarized dark) set-option -g status-bg black #base02