copy-pipe on OS X to share the system clipboard with Tmux 1.8:
unbind -t vi-copy Enter bind -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
This works when entering select mode and copying text (select text, then hit Enter), but not when selecting text with the mouse. Is it possible to set a command that should run after mouse selection, just like
copy-pipe runs after hitting Enter? I.e. I need to run
reattach-to-user-namespace pbcopy when the selection is left.