#switch to ctrl+a prefix unbind C-b set -g prefix C-a bind C-a send-prefix #pane management bind q split-window -h bind f split-window bind a select-pane -L bind s select-pane -R bind w select-pane -U bind r select-pane -D #window management bind Q command-prompt -I "" "new-window -n '%%'" bind A next-window bind S previous-window bind W last-window bind R command-prompt -I "#W" "rename-window '%%'" #promote/demote pane bind z resize-pane -Z #detach bind C-d detach #limit window size to clients connected to window instead of to session setw -g aggressive-resize on #enable mouse mode set -g mouse on #enable mouse pre-v2.1 setw -g mode-mouse on set -g mouse-select-pane on set -g mouse-resize-pane on set -g mouse-select-window on #colors set -g window-status-fg blue set -g window-status-current-bg blue set -g window-status-current-fg green