summaryrefslogtreecommitdiffstats
path: root/.tmux-osx.conf
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-07-24 10:30:18 +0200
committerAhmed Abdelhalim <[email protected]>2025-07-24 10:30:18 +0200
commitb5647650467f9cced85207e161b09aa632fa0696 (patch)
treec049c717b676b8f3728e12d481924a40f55cdb9d /.tmux-osx.conf
parentb007ef77bbe8f1e55a9bd2b5a5be2b5ed3f5eebf (diff)
Minor modification
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"