Hi lcd,

Many thanks for your help these days.

You are right. My vim version has only +clipboard but does not support
xterm_clipboard.

I have not found a version of vim for mac that can support xterm_clipboard
yet. But I am glad to find out the source of the problem.

Li


On Mon, Mar 17, 2014 at 1:39 AM, LCD 47 <[email protected]> wrote:

> On 16 March 2014, Li Xue <[email protected]> wrote:
> > Hi lcd,
> >
> > Many thanks for your detailed instructions and explanations! I really
> > appreciate it!
> >
> > I did the steps you told me and in fact my yanks can appear on both
> > the remote and local xclipboard windows, even though I still cannot
> > paste the results on the local machine. So the remote transmission
> > works.
>
>     Excellent!
>
> > Do you happen to have any idea why I cannot paste my yanks on the
> > local machine?
> [...]
>
>     Your experiment above shows that the problem is local to your Mac
> machine.  Now, I don't know much about Mac OS, but I suppose you need
> version of Vim with +clipboard, +X11, and +xterm_clipboard, and you
> might want to add something like this to your vimrc:
>
>         set clipboard=unnamedplus,autoselect
>
> (it's probably safe to leave alone the linux console exception, since
> you won't run into it on Mac).  After that, you should be able to open
> xclipboard, type something there, and than paste it in a local Vim.  If
> Vim can't paste the contents of the clipboard, the problem is incomplete
> (or buggy) integration between your Vim and X11.  I'm not sure what you
> can do about that; as I understand there are several implementations of
> Vim for Mac, perhaps try a different one.
>
>     /lcd
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "vim_dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_dev/G1Def0Fj27U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xue, Li
Post-doctoral Research Associate
College of Information Sciences and Technology
Penn State University
Email: [email protected]
Web site: http://www.cs.iastate.edu/~lixue/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui