# Use SCREEN hotkeys:  wijziging van CTRL-b naar CTRL-a
unbind-key C-b
set-option -g prefix C-a
bind-key C-a last-window
bind-key k kill-pane
bind-key K kill-window

#Split Window
bind | split-window -h
bind _ split-window -v

# Reload Config File
bind-key r source-file ~/.tmux.conf

# Change Mouse Mode
bind-key F11 set-option mouse-select-pane on
bind-key F12 set-option mouse-select-pane off

# Window Title
set-option -g set-titles on
set-option -g set-titles-string '[#H #I:#W] #T'
set-window-option -g automatic-rename on

# Default Terminal Options
set-option -g default-terminal "screen-256color"
set-option -g history-limit 4096
set-option -g mouse-select-pane on

# Statusbar Options
set-option -g status-interval 60
set-option -g status-left-length 30

# Color Settings
if-shell 'test `tput colors` -eq 256' 'source-file ~/.tmux.conf-256color'
if-shell 'test `tput colors` -ne 256' 'source-file ~/.tmux.conf-color'