Hi Jan!

On Fr, 06 Mär 2015, Jan Larres wrote:

> Hi,
> 
> I have come across what looks like a bug to me when using :global. I have this
> in my vimrc:
> 
>   set clipboard=unnamed,unnamedplus,exclude:cons\|linux
> 
> So I want my clipboard to be updated when the unnamed register changes. Now if
> I want to delete something with the :delete command without clobbering the
> clipboard I can just delete it to the black hole register:
> 
>   delete _
> 
> This works fine, neither the unnamed register nor the clipboard is changed by
> this.
> 
> Now if I want to do that in a :global command I can just do this:
> 
>   g/foo/d _
> 
> However, this command is not quite as accomodating. It doesn't change the
> unnamed register, but it does change the clipboard. It seems to clear it, in
> fact. This affects both the CLIPBOARD and PRIMARY selections as far as I can
> see. I discovered this while trying to track down why netrw was messing up my
> clipboard when changing directories.
> 
> For the record, this is with Vim 7.4.488 in both a terminal and GVim. I didn't
> see anything related to this in the patches after that.

I do not see this here currently. Could it be, that this was fixed by 
7.4.598? Please check.

Best,
Christian
-- 
Beim Dreschen laß das Rauchen sein, sonst atmest Du den Brandrauch ein.

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