setw -g mode-keys vi
set -g default-terminal "xterm-256color"
set-window-option -g xterm-keys on
unbind C-b
set -g prefix C-a
bind s split-window -v
bind v split-window -h
bind-key -n C-d kill-pane
unbind-key M-up ; bind-key -n M-k select-pane -U
unbind-key M-down ; bind-key -n M-j select-pane -D
unbind-key M-Left ; bind-key -n M-h select-pane -L
unbind-key M-right ; bind-key -n M-l select-pane -R
unbind-key C-Up; bind-key -n C-k resize-pane -U
unbind-key C-Down; bind-key -n C-j resize-pane -D
unbind-key C-Left; bind-key -n C-h resize-pane -L
unbind-key C-Right; bind-key -n C-l resize-pane -R
set -g pane-active-border-fg red
set -g pane-border-fg black
set -g status-justify left
set -g status-interval 120 # 120 sec refresh status
set -g display-time 3000
set -g status-bg black
set -g status-fg white
set-window-option -g window-status-current-fg blue
set-window-option -g window-status-current-bg yellow
set-window-option -g window-status-current-attr default