Hi,

I have switched to xsel and much more simpler commands for copying
into/pasting from X clipboard and since then I don't have the problem I
reported. Basically, tmux behaves in a very stable manner as it used to
be:-)
I haven't gone through the change logs between 1.7 and 1.9a and see what
could cause this weird behavior.

# C-c: save into system clipboard (+). With preselection.
bind C-c run "tmux show-buffer | xsel -i -b"

# C-v: copy from + clipboard.
bind C-v run "tmux set-buffer -- \"$(xsel -o -b)\"; tmux paste-buffer"

Thanks Nicholas for your support, very much appreciated.
Cheers,
Pavlos


On 7 March 2014 23:00, Nicholas Marriott <nicholas.marri...@gmail.com>wrote:

> No you don't, use run -b
>
>
>
> -------- Original message --------
> From: Pavlos Parissis <pavlos.paris...@gmail.com>
> Date: 07/03/2014 21:47 (GMT+00:00)
> To: Nicholas Marriott <nicholas.marri...@gmail.com>
> Cc: tmux-users@lists.sourceforge.net
> Subject: Re: Can't create window or pane
>
>
> On 07/03/2014 10:14 μμ, Nicholas Marriott wrote:
> > That sounds like the xclip thing, if you are using it add -b to run-shell
> >
> >
>
> I do have -b,
> bind C-c choose-buffer "run \"tmux save-buffer -b %% - | xclip -i -sel
> clipboard\" \; run \" tmux display \\\"Clipboard \(+\) filled with:
> $(tmux save-buffer -b %1 - | dd ibs=1 obs=1 status=noxfer count=80 2>
> /dev/null)... \\\" \" "
>
> Thanks,
> Pavlos
>
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to