Friday, January 16, 2015

Fwd: Unable to yank to system clipboard

Hello, everybody. Bram asked me to forward this here in case anybody else could shed any light on this issue.

Thank you. The issue:

> Bram,
>
> I've tried this in several GVim distributions (on Windows 7, starting after about 7.4.3xx), but keep seeing the same behaviour with 'clilpboard' set to unnamed: the very first yank/delete/change operation sets the "* register (along with the usual "0, etc.), but subsequent operations only set the internal registers, not "*, so the operation's results aren't available outside GVim.
>
> If I do one of these, things work:
>
> 1. Explicitly prefix an operation with "*. This works, but is a departure from the usual behaviour. Or,
> 2. Launch with vim -u NONE -U NONE and then set 'clipboard' to unnamed.
>
> Based on 2, you could argue that a plugin/autocommand must be doing something, but I didn't change any of those; I literally just dropped in another GVim build.
>
> It's interesting that the very first one works, but subsequent operations don't.
>
> Lastly, this doesn't work for simple operations such as yiw or y$, neither of which are mapped to anything. The only thing I can think of is that something changed in the code base in how this is handled.
>
> What do you think?
>
> Thank you,
>
> --
>  
> Salman

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