Saturday, December 31, 2016

Re: Pasting from wrong register(?)

On Friday, 30 December 2016 22:52:41 UTC+1, Bee wrote:
> Does the following work in both cases?
>
> vnoremap P "0P

Well, that kind of works even if it's not what I'm looking for - because after such a "replace" pasting with P in visual mode, I still lose the original content of the default register, so I can't do normal mode pasting (only visual mode).

I used to think that when not specifying the register, the default register is used - which apparently isn't the case like I described initially. Was this behavior changed at some point, is my thinking wrong, or may that be a bug?

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