On 19-Apr-2014 17:41 +0200, Andrew wrote: >> I suspect something about your setup is doing this. When I follow your >> instructions, I get precisely the "expected" behavior. > > Ah, actually, that was silly of me. You wouldn't be able to reproduce it like > this, since the normal `p` works just fine :/. > > Instead, try: > > "_dd:echo v:register<cr> > > As in, just take a look at the value of `v:register` after the `"_dd` > operation. For me, it's `_`, but after the operation is done, I would expect > it to change to the default, usually `"`. > > Also, I realize I forgot to link to my `vim --version` output: > https://gist.github.com/AndrewRadev/11087768
The same applies to yank commands, too. This matters for mappings and plugins that evaluate v:register. After a command such as "_dd, the register used by the mapping / plugin is wrong. One first has to do another command (e.g. "hl": back-and-forth motions) to reset v:register to the correct default. -- regards, ingo -- -- 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.
