From b5647650467f9cced85207e161b09aa632fa0696 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 24 Jul 2025 10:30:18 +0200 Subject: Minor modification --- .tmux-osx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.tmux-osx.conf') 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" -- cgit v1.2.3