it is "feature":

Vim fills this register with text deleted with the "d", "c", "s", "x"
commands
or copied with the yank "y" command, regardless of whether or not a specific
register was used (e.g.  "xdd).

sorry for the bothering...


On Mon, May 5, 2014 at 5:24 PM, Kent <[email protected]> wrote:

> update named reg, the unamed reg (@") was updated as well. It was not like
> that before.
>
> tested with vim 7.4.214, started vim with -u NONE.
>
> To reproduce, add two lines in a buffer:
>
> 111111
> 222222
>
> on line1, press Y (yank the line), check :reg, ""(unnamed reg) is 111..
>  fine.
> then move to line2, press "xY  (yank to reg x), check :reg, "x is 222..
> ok, but "" is changed into 222... as well.
>
> Is it a bug? Or I did something wrong?
>
>
> regards,
>
> Kent
>
>

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to