#change binding from ctrl+b to screen-like ctrl+a set-option -g prefix C-a #copy screen last window method bind-key C-a last-window #start windows numbers at 1 set -g base-index 1 #enable mouse scrolling in terminal history set -g mouse on set -g utf8 on set -g status-utf8 on set -g history-limit 50000 set -g display-time 4000 set -g status-interval 5 set -g default-terminal "screen-256color" set -g focus-events on setw -g aggressive-resize on #vim copy/paste bindings bind P paste-buffer bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection bind-key -t vi-copy 'r' rectangle-toggle