unbind C-b
set -g prefix C-a
set -g history-limit 10000
bind-key a send-key C-a
bind-key C-a last-window

# vi mode
setw -g mode-keys vi
set -g status-keys vi

# Bind extra keys for page up/down mainly for laptop use
bind-key -t vi-edit Up history-up
bind-key -t vi-edit Down history-down

bind r source-file ~/.tmux.conf \; display-message "Configuration reloaded..."

# Colours
set-option -g status-bg cyan

# Refresh the status bar every 30 seconds
set-option -g status-interval 30

# Open new window in current directory, for tmux 1.9+
bind-key c new-window -c "#{pane_current_path}"

# Faster escape
set-option -sg escape-time 0
