set -g prefix C-x bind-key a send-prefix # for nested tmux sessions # use support - set to on if you want to use the mouse setw -g mouse on #setw -g mouse-resize-pane on #set -g mouse-select-window on #set -g mouse-select-pane on # Set the default terminal mode to 256color mode set -g default-terminal "screen-256color" # enable activity alerts #setw -g monitor-activity on #set -g visual-activity on # Center the window list #set -g status-justify centre # Maximize and restore a pane #unbind Up bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp #unbind Down #bind Down last-window \; swap-pane -s tmp.1 \; kill-window -t tmp