Monday, May 5, 2014

is it a bug [register]?

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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment