# Fix PuTTY's bad ACS handling in Unicode set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@' # Start from 1 set -g pane-base-index 1 set -g base-index 1 # Colours set-option -g default-terminal screen-256color # Keyboard bindings bind -n C-k clear-history bind r source-file ~/.tmux.conf bind -r C-h resize-pane -L bind -r C-j resize-pane -D bind -r C-k resize-pane -U bind -r C-l resize-pane -R # History set -g history-limit 4096 # Mouse selection and scrolling set -g mouse-select-pane on set-option -g mouse-select-window on set -g mode-mouse on set-option -g set-titles on set-option -g set-titles-string '[#S:#I #H] #W' # use screen title set -g status-bg black set -g status-fg white set -g status-left '#[fg=green]#H' set -g status-left-length 20 set -g status-right '#[fg=yellow][#(uptime | cut -d"," -f 3-| cut -d: -f2)] %H:%M' set -g clock-mode-colour yellow set -g clock-mode-style 24 setw -g window-status-current-bg red # Beeped windows get a yellow background set-window-option -g window-status-bell-fg black set-window-option -g window-status-bell-bg yellow set-window-option -g window-status-bell-attr blink setw -g automatic-rename on set -g status-interval 5