IIRC, this was fixed in the last few releases- it had to do with OS X's weird user-session/permissions management. At the very least, I was able to comment out the following workaround:
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi A send-keys -X append-pipe-and-cancel "pbcopy"
Re:A Quick and Easy Guide to Tmux (2015)
by raphattack on Tuesday October 29, 2019 @07:13PM
(#21393084)
I'm using iTerm2 + tmux:
1. If I click my mouse to drag and select what I want to copy, the selection is copied to the clipboard when I release. Selection is highlighted with a yellow background.
2. If I want to double-click to copy, I just hold down the `option` key, then double click and it is copied to the clipboard. Selection is highlighted with a white background.
In both instances, I don't even need to use `ctrl+c`.
Re:A Quick and Easy Guide to Tmux (2015)
by rhinoceraptor on Wednesday October 30, 2019 @07:50AM
(#21396630)
Yep, although there are plugins to integrate the tmux clipboard with the system clipboard. I use tmux-yank:
I think there are workarounds to get from the tmux copy buffer onto the system clipboard but I usually just `Ctrl-b z` to zoom the pane to full-screen, hold down `fn` button to select text, then `Ctrl-C` like normal.