mode-mouse also makes selection owned by tmux

Originally added for scrolling, this also makes it so you can not copy and paste
to the system clipboard (without xclip usage).  Scrolling in windows with the
mousewheel is not worth this.
This commit is contained in:
Andrew Tomaka 2015-06-23 14:47:46 -04:00
parent ff44e305c6
commit 11ed288753

View file

@ -37,7 +37,7 @@ bind L swap-window -t +1
set-window-option -g monitor-activity off
# copy mode stuff
set-window-option -g mode-mouse on # mouse can enable (danger zone, maybe?)
set-window-option -g mode-mouse off # disable the mouse always
set-window-option -g mode-keys vi # emulate vim movement in copy mode
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection