Re: interpolate #{pane_tty} into copy-pipe

2014-11-10 Thread Suraj N. Kurapati
On Sun, 09 Nov 2014 18:53:22 +, Nicholas Marriott wrote: > Patch is in openbsd now will be in SF next time it's synced up Wonderful! Thanks for all of your help. Long live tmux! :) -- ___

Re: interpolate #{pane_tty} into copy-pipe

2014-11-09 Thread Nicholas Marriott
Patch is in openbsd now will be in SF next time it's synced up Original message From: "Suraj N. Kurapati" Date: 09/11/2014 18:49 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: interpolate #{pane_tty} into copy-pipe

Re: interpolate #{pane_tty} into copy-pipe

2014-11-09 Thread Suraj N. Kurapati
On Sun, 9 Nov 2014 14:56:25 +, Nicholas Marriott wrote: > 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 Thanks for the tip! I was able to use your suggestion successfully: set-option -g

Re: interpolate #{pane_tty} into copy-pipe

2014-11-09 Thread Nicholas Marriott
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 +, Nicholas Marriott wrote: > > Try this please

Re: interpolate #{pane_tty} into copy-pipe

2014-11-09 Thread Ailin Nemui
Am 9. November 2014 02:50:32 MEZ, schrieb "Suraj N. Kurapati" : >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 lap

Re: interpolate #{pane_tty} into copy-pipe

2014-11-08 Thread Suraj N. Kurapati
On Wed, 5 Nov 2014 22:57:14 +, 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 s

Re: interpolate #{pane_tty} into copy-pipe

2014-11-05 Thread Nicholas Marriott
Try this please (although if your terminal supports OSC 52 you could just put Ms in terminal-overrides and turn on set-clipboard). diff --git a/window-copy.c b/window-copy.c index 542c28a..965583a 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1480,18 +1480,28 @@ void window_copy_copy_pipe(st