You can configure xterm so OSC 52 defaults to clipboard, or set Ms so
that tmux sends it to clipboard. Probably something like Ms=\E]52;c;%p2%s\007


On Sat, Nov 08, 2014 at 05:50:32PM -0800, Suraj N. Kurapati wrote:
> On Wed, 5 Nov 2014 22:57:14 +0000, Nicholas Marriott wrote:
> > Try this please
> 
> Thanks!  The following configuration now works due to this patch:
> 
>   bind-key -t vi-copy y copy-pipe 'yank > #{pane_tty}'
> 
> I would request you to promote this patch into the tmux codebase.
> 
> > (although if your terminal supports OSC 52 you could
> > just put Ms in terminal-overrides and turn on set-clipboard).
> 
> Thanks for the tip, that's very handy.  It doesn't handle my needs
> though because it copies to the primary selection rather than the
> clipboard selection, which is troublesome for me because hitting
> mouse3 (middle click) on a laptop touchpad is largely hit-or-miss.
> 
> Thanks for your consideration.

------------------------------------------------------------------------------
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to