# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
#set-window-option -g automatic-rename on
#set-option -g set-titles on
# Send prefix
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# switch panes using Alt-arrow without prefix
#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
# Shift arrow to switch windows
#bind -n S-Left previous-window
#bind -n S-Right next-window
# Set easier window split keys
bind-key \ split-window -h
bind-key - split-window -v
# Easy config reload
bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"
# New window
bind-key = new-window
# vim bug
#set -g default-terminal "screen-256color"
set-option -s escape-time 10
# border color
set -g pane-border-fg default
set -g pane-active-border-fg green
set -g pane-active-border-bg default