On 24/09/13 09:21, Sharon Kimble wrote: > On Mon, 23 Sep 2013 20:54:43 +0100 > Nicholas Marriott <nicholas.marri...@gmail.com> wrote: > >> Pipe it to xclip or xsel or something. > > How? I thought it just went to xclip automatically, which then > transferred it to the normal clipboard?
No. Tmux copies things to its own internal paste buffers without touching the system clipboard. To pipe the current buffer to xclip do this: $ tmux saveb - | xclip -i -selection clipboard For doing this more easily in the future add these two bindings to your tmux.conf: # Copy tmux paste buffer to CLIPBOARD # Use save-buffer instead of show-buffer to avoid inserting spurious linebreaks bind-key C-y run-shell -b "tmux save-buffer - | xclip -i -selection clipboard" # Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer bind-key C-p run-shell "xclip -o -selection clipboard | tmux load-buffer -; tmux paste-buffer" Jan ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users