summaryrefslogtreecommitdiffstats
path: root/.tmux-osx.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux-osx.conf')
-rw-r--r--.tmux-osx.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/.tmux-osx.conf b/.tmux-osx.conf
index 37b0978..66c0385 100644
--- a/.tmux-osx.conf
+++ b/.tmux-osx.conf
@@ -3,6 +3,7 @@
set-option -g default-command "reattach-to-user-namespace -l ${SHELL}"
bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy'
-# ensure clipboard off to allow mouse copy
-set-option -s set-clipboard off
+# ensure clipboard on to allow mouse copy
+set-option -s set-clipboard on
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
+bind-key -T copy-mode-vi DoubleClick1Pane send-keys -X copy-pipe-no-clear "reattach-to-user-namespace pbcopy"