## Use C-a as prefix and keep C-b for compatibility set-option -g prefix C-a set-option -g prefix2 C-b ## Enable mouse support set -g mouse on ## switch panes using Alt-arrow without prefix 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 ## Reload on C-a r bind r source-file ~/.tmux.conf ## split panes using h and v bind h split-window -h bind v split-window -v unbind '"' unbind % ## Sync all panes to the current one bind-key s set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"