Hi,

On 12 June 2013 15:05, Marco <net...@lavabit.com> wrote:
> Hi,
>
> there are plenty of tutorials that suggest a mapping like
>
>   bind C-y run "tmux show-buffer | xclip -selection clipboard -i"
>
> to be able to copy to the system clipboard. This, however, involves
> an unnecessary copy step. Is there a possibility to directly copy to
> the clipboard after enter has been pressed? Example:
>
> ∙ go selection mode with prefix[
> ∙ start selection with space
> ∙ select the text and press enter
>
> After the last step, I'd like the snippet to be in the system
> clipboard. Is this possible?

For some systems (such as OSX) you have no choice but to emulate
this---and indeed, with some terminals, you have no choice but to do
this manually.  tmux supports native clipboard support for XTerm, and
there's an OSC extension (unofficially) for rxvt-unicode to do this
natively.

-- Thomas Adam

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to