# Use SCREEN hotkeys unbind-key C-b set-option -g prefix C-a bind-key C-a last-window bind-key k kill-pane bind-key K kill-window # Reload Config File bind-key r source-file ~/.tmux.conf # Toggle Status Bar bind-key F11 set-option status # Toggle Mouse Mode bind-key F12 set-option mouse-select-pane # Window Title set-option -g set-titles on set-option -g set-titles-string '[#H #I:#W] #T' set-window-option -g automatic-rename on # Default Terminal Options set-option -g default-terminal "screen-256color" set-option -g history-limit 4096 set-option -g mouse-select-pane on # Statusbar Options set-option -g status-interval 60 set-option -g status-left-length 30 # Start first window at 1 not 0 bind-key 1 select-window -t 0 bind-key 2 select-window -t 1 bind-key 3 select-window -t 2 bind-key 4 select-window -t 3 bind-key 5 select-window -t 4 bind-key 6 select-window -t 5 bind-key 7 select-window -t 6 bind-key 8 select-window -t 7 bind-key 9 select-window -t 8 bind-key 0 select-window -t 9 # Color Settings if-shell 'test `tput colors` -eq 256' 'source-file ~/.tmux.conf-256color' if-shell 'test `tput colors` -ne 256' 'source-file ~/.tmux.conf-color'