# Prefer xterm-256color as vim (neovim) within mutt switches to monochrome with
# screen-256color.
set -g default-terminal "xterm-256color"
-set -g mouse on
+#set -g mouse on
set-window-option -g xterm-keys on
+# Copy to X11 clipboard
+bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
+
+bind-key m set-option -g mouse on \; display 'Mouse: ON'
+bind-key M set-option -g mouse off \; display 'Mouse: OFF'
+
# {{{{ Gruvbox color scheme
# https://github.com/egel/tmux-gruvbox/blob/master/tmux-gruvbox-dark.conf