Friday, January 16, 2015

Re: Fwd: Unable to yank to system clipboard

Hi Salman!

On Fr, 16 Jan 2015, Salman Halim wrote:

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

Can anybody else reproduce this? Salman, can you try to find out, which
plugin does that?

Best,
Christian
--
Das Problem

Der Zwölf-Elf kam auf sein Problem
und sprach: Ich heiße unbequem.
Als hieß' ich etwa Drei-Vier
statt Sieben -- Gott verzeih mir!
Und siehe da, der Zwölf-Elf nannt' sich
von jenem Tag ab Dreiundzwanzig.
-- Christian Morgenstern

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