# .tmux.conf # split panes using | and _ unbind '"' unbind % bind | split-window -h bind _ split-window -v # use hkjl for pane traversal bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # or, use arrow keys bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # 256 colors set -g default-terminal "xterm-256color" # Default status-bar colors set -g status-fg black set -g status-bg green # Default window title colors (XXX broken on Darwin 23.2.0) #set-window-option -g window-status-fg black #set-window-option -g window-status-bg green # Highlight active window title #set-window-option -g window-status-current-fg green #set-window-option -g window-status-current-bg black # Color panes #set-option -g pane-active-border-fg colour63 #set-option -g pane-border-fg colour245 # Windows start numbering at 1 set -g base-index 1 # New windows have no name bind-key c new-window -n '' # No auto-renaming set-option -g allow-rename off # No mouse mode #set -g mouse off # reload config bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." # increase scrollback size to 500k lines set -g history-limit 500000 #set-window-option -g c0-change-interval 250 #set-window-option -g c0-change-trigger 10 # display messages for longer; milliseconds set-option -g display-time 3000