Change this:
bind C-w run -b "tmux show-buffer | xsel -ip && tmux show-buffer | xsel
-ib"
To:
bind C-w run "tmux saveb -|xsel -ip; tmux saveb -|xsel -ib"
And see if the problem goes away.
Also make sure you have set-clipboard off.
On Fri, Aug 26, 2016 at 08:18:46PM +0000, Kaushal Modi wrote:
> On Fri, Aug 26, 2016 at 4:06 PM Nicholas Marriott
> <[1][email protected]> wrote:
>
> If you have set-clipboard off then tmux will not affect the X clipboard
> in any way.
>
> tmux is affecting the *primary*, not the clipboard.
> **
>
> I think you are barking up the wrong tree and you need to
> look at the environment passed to xsel.
>
> I get the same results with xsel, xclip, etc
> Again, I get this issue only inside tmux. Outside tmux, I do not get this
> issue. That's way, after a lot of experimentation, I emailed this thread.
> **
> --
>
> Kaushal Modi
>
> References
>
> Visible links
> 1. mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.