#set -g mouse on bind -n S-Left previous-window bind -n S-Right next-window set -s set-clipboard on set -s copy-command 'pbcopy' # macOS set -s copy-command 'xclip -selection clipboard' # Linux (X11) set -as terminal-features ',xterm-256color:clipboard' bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -selection clipboard'