set-option -g status-style bg=colour235 #base02 set-option -g status-style fg=colour136 #yellow bind-key v split-window -h bind-key b split-window set-window-option -g window-status-style fg=colour244 #base0 set-window-option -g window-status-style bg=default set-window-option -g window-status-current-style fg=colour166 #orange set-window-option -g window-status-current-style bg=default set-option -g pane-border-style fg=colour235 #base02 set-option -g pane-active-border-style fg=colour240 #base01 set-option -g message-style bg=colour235 #base02 set-option -g message-style fg=colour166 #orange set-option -g display-panes-active-colour colour33 #blue set-option -g display-panes-colour colour166 #orange set-window-option -g clock-mode-colour green #green set -g status-interval 1 set -g status-justify centre # center align window list set -g status-left-length 100 set -g status-right-length 140 set -g status-left "#[fg=colour14]#(whoami)@#h #[fg=colour11]#S#[default]" set -g status-right '#[fg=green,bg=default,bright]#(tmux-mem-cpu-load) #[fg=yellow,dim,bg=default]#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") #[fg=white,bright]#(TZ=Asia/Hong_Kong date)' set -g base-index 1 set -s escape-time 0 setw -g aggressive-resize on set -g mouse on set -g prefix C-a unbind C-b bind C-a send-prefix setw -g monitor-activity on set -g visual-activity on set-window-option -g mode-keys vi bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind H resize-pane -L bind J resize-pane -D bind K resize-pane -U bind L resize-pane -R bind m set-window-option main-pane-height 60\; select-layout main-horizontal bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." set-window-option -g automatic-rename set -g default-terminal "screen-256color" set-option -g history-limit 13000