# vi:syntax=tmux # Reload the config with the "r" key bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." # No automatic renaming of windows set automatic-rename off # Enable 256-color terminal set default-terminal "screen-256color" # Set titles to be informative set set-titles on set set-titles-string "tmux: [#H] [#S] [#W:#D #I:#P]" # Change pane colors set -g pane-border-style fg=colour237 set -g pane-active-border-style fg=colour199 # Tweak currently active window setw -g window-status-current-style bg=colour199,fg=colour255,none setw -g window-status-current-format " #F[#W] " # Tweak last active window style setw -g window-status-last-style fg=colour255,bg=colour238,none # Tweak display of window overview setw -g window-status-format " #F[#W][#I] " setw -g window-status-style bg=colour233,fg=colour255,none # Tweak status line design set -g status-style bg=colour235,fg=colour199 set status-justify centre set status-left " [#H] [#S] " set status-left-length 100 set status-right '[%Y-%m-%d %H:%M.%S]' # Refresh status bar every 2s set status-interval 2 # Set some helpful limits & modes set -g mouse off set -g history-limit 50000 # Make tmux resize based on smallest client actually viewing the window, not just attached setw -g aggressive-resize on # Initialize tmux-plugin-manager run '~/.tmux/plugins/tpm/tpm'