Wednesday, November 25, 2015

Re: "+y in vim put all stuff to "* not to "+

On Wed, Nov 25, 2015 at 5:30 PM, Random832 <random832@fastmail.com> wrote:
> On 2015-11-25, Roman <roma.ovc@gmail.com> wrote:
>> Why vnoremap <C-Insert> "+y in vim visual mode puts all stuff to "* not to "+
>> But "+y in vim working fine. In gvim all working fine.
>
> As I understand it, only x11 gvim makes a distinction between "* and "+. In
> win32, these both refer to the clipboard. In non-GUI vim, neither of them
> exist, and your data is actually in "" (and doing "+p or "*p will both paste
> from "").
>
They both exist in any x11-aware Vim provided that it has contact with
the X server: for instance, in a Vim executable compiled to serve as
either (console) vim and (GUI) gvim on Linux, and running in an xterm
or similar terminal window. It is even possible to compile Vim with
has("x11") but without has("gui"). On Windows, vim.exe and gvim.exe
are different executables, but there both "* and "+ refer to the
Windows clipboard, which is accessible even in Console mode IIRC.

Best regards,
Tony.

--
--
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:

Post a Comment