#
set -g status-right "%d-%m  %H:%M"
set -g prefix C-a
setw -g mode-keys vi
setw -g mode-mouse on

unbind C-b
bind C-a last-window

unbind a 

unbind D
bind D choose-session "movew -t %%:"

unbind k
bind k choose-session "kill-session -t %%"

unbind `
bind ` select-window -t :0

unbind n
bind n new
#unbind a
#bind a command-prompt "rename-window '%%'"
unbind ,
bind , command-prompt "rename-session '%%'"
set -g set-remain-on-exit off
set -g base-index 1
#setw -g base-index 1
setw -g window-status-current-attr bright
set -g status-bg black
set -g status-fg white
set -g status-left ''
set -g status-left-length 15
set -g status-justify centre
set -g status-right ''
set -g status-right-length 20

bind-key u run "chrome `tmux show-buffer`"

bind C-c run "tmux show-buffer | xclip -i -selection clipboard"
#Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer
bind C-v run "tmux set-buffer \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"