# write this in ~/.tmux.conf
# Make it use C-z instead of C-a, so you have readline shortcuts available
unbind C-b
unbind l
set -g prefix C-z
# Reload key
set -g base-index 1
set-window-option -g mode-keys vi
bind s split-window -v
bind v split-window -h
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind < resize-pane -L 10
bind > resize-pane -R 10
bind - resize-pane -D 10
bind + resize-pane -U 10
bind r source-file ~/.tmux.conf
set -g default-terminal "screen-256color"
set -g history-limit 1000
# THEME
set -g status-bg black
set -g status-fg yellow
set -g status-interval 60
set -g status-left-length 30
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=yellow]%H:%M#[default]'
# set correct term
set -g default-terminal screen-256color