set -g prefix C-a
unbind C-b
bind C-a send-prefix


set -g default-terminal "screen-256color"
set-option -g status-left ''
set-option -g status-right " #[bg=cyan]  %d %b %Y %H:%M "

set -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'

setw -g mode-keys vi

bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-pipe "reattach-to-user-namespace pbcopy"
