# Set the prefix to ^A unbind C-b set -g prefix C-a bind a send-prefix # I must be missing something.. why don't these work automatically? bind C-n next-window bind C-p previous-window bind C-c new-window bind C-d detach # Mouse! set -g mode-mouse on set -g mouse-resize-pane on set -g mouse-select-pane on set -g mouse-select-window on # Rebinding switching panes bind-key Up select-pane -U bind-key Down select-pane -D bind-key Left select-pane -L bind-key Right select-pane -R bind C-a last-window # basic settings set-window-option -g mode-keys vi # vi key set-option -g status-keys vi set -g default-terminal "screen-256color" # Powerline # Mac source '/usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf' # Linux source '/usr/share/tmux/powerline.conf'