# this sets the terminfo so tmux understands how to talk to your terminal. # this will allow things like colors, clipboard support, and other features to work properly. set -g default-terminal "tmux-256color" # start counting panes and windows from 0, because we're programmers. set -g base-index 0 set -g pane-base-index 0 # allow re-numbering windows to avoid 'gaps' when you close a window. set -g renumber-windows on set -s set-clipboard external # rebind prefix key to Ctrl+a, instead of Ctrl+b. unbind C-b set -g prefix C-a bind C-a send-prefix # bind prefix+r to refresh tmux config from this file. unbind r bind r source-file ~/.config/tmux/tmux.conf # i disable the mouse and auto-focusing on panes and windows when they have 'events'. set -g mouse off set -g focus-events off # use 24-hour clock format setw -g clock-mode-style 24 # set a large scroll-back history set -g history-limit 50000 # integrate with external clip-board set -s set-clipboard external # renumber windows automatically set -g renumber-windows on # basic status-line set -g status-style bg='#111111',fg='#676E7D' set -g status-interval 1 set -g status-left '[#{session_name}] ' set -g status-right '%Y-%m-%d %T %A' set-option -g status-position bottom