Monday, September 15, 2014

Re: Select Copy Not Work On Mac

On Mon, Sep 15, 2014, huangyingw wrote:
> Hi,
> After set clipboard=unnamedplus, this works on Ubuntu, but does not work
> in Mac OS X.

I can confirm this behavior happens in MacVim, which is surprising.
Perhaps we should report it as a bug to b4winckler.

> If I want the select copy works perfectly both on Ubuntu and OS X,
> what should I do?
> I notice that the default vim in OS X is -xterm_clipboard
>
> mac:MacOS huangyingw$ vi --version|grep clipboard
> -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info
> +comments
> -xterm_clipboard -xterm_save
>
> And the Vim in MacVim is +clipboard, but also -xterm_clipboard
>
> mac:MacOS huangyingw$ ./Vim --version|grep clipboard
> +clipboard +iconv +path_extra +transparency
> +eval +mouse_dec +startuptime -xterm_clipboard
>
> What's the quickest way to change from -xterm_clipboard to
> +xterm_clipboard.
> Or, I really doubt that, is OS X, there is no xterm_clipboard, for
> it is used in X11 environment, not available in OS X?

X11 is available in OS X; it's just that relatively few users use it
often. I don't think you need to worry about +xterm_clipboard unless you
actually use a build of Vim that runs under X11. (I do recall that X11
for Mac has options for whether to synchronize the Mac clipboard with
either X11's PRIMARY or X11's CLIPBOARD, which would increase
complications.)

Nevertheless, the source for MacVim is at
https://github.com/b4winckler/macvim ; perhaps with the right configure
switches it can be made to use +xterm_clipboard.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: