set -g default-terminal "screen-256color" # colors! # cssh bind-key = set-window-option synchronize-panes \; display 'Switching synchronize' # interface #------------ # pane #------------ set -g pane-border-status top set -g pane-border-style fg=blue set -g pane-active-border-style fg=colour39 #------------ # tabs #------------ setw -g window-status-format "#[fg=white]#[bg=blue]#I #[bg=blue]#[fg=white]#W " setw -g window-status-current-format "#[bg=red]#[fg=white,bold][#I #[fg=white,bold]#[bg=red]#W]" #------------ # status bar #------------ set-option -g status-position bottom set -g status-fg white set -g status-bg blue #set -g status-left '' set -g status-right-length 60 #set -g status-right ' ☢ #(cat /proc/loadavg|cut -d" " -f 1) | ☪ #(hostname) | %a %m-%d %H:%M' #set -g status-right ' ☢ #(ip addr show dev eth0|grep inet|cut -d" " -f 6)' set -g status-right '#(hostname)' set -g status-left ' xAAL-docker >> ' set -g status-left-length 70 #------- # Mouse #------- set -g mouse on bind-key m set-option -g mouse on \; display 'Mouse: ON' bind-key M set-option -g mouse off \; display 'Mouse: OFF' #----------------- # pane navigation #----------------- 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 #------------------- # window navigation #------------------- unbind n unbind p bind -r C-p previous-window # select previous window bind -r C-n next-window # select next window bind Tab choose-window # move to last active window bind -r k kill-pane bind -r r source ~/.tmux.conf \; display 'Loaded config file' # enable activity alerts # setw -g monitor-activity on # set -g visual-activity on set -g status-interval 20 setw -g xterm-keys on