set -g mode-keys vi set -g mouse on # Use v to trigger selection bind-key -T copy-mode-vi v send-keys -X begin-selection # Use y to yank current selection bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel