My vim is version 8.2, And i tested it. Only use 'P' from visual model
didn't prevet changing the unamed register. Anyway, Maybe my verions
isn't the newest.
regards
Wenxin
On Thu, 10 Aug 2023, Christian Brabandt wrote:
>
> On Do, 10 Aug 2023, Tim Chase wrote:
>
>> The typical way is to yank the text you want which puts it in the
>> "0 register, and you can then paste that over visual selections
>> explicitly with
>>
>> "0p
>>
>> which doesn't overwrite the "0 register, so you can do that multiple
>> times.
>
> With some newer Vims, you can use `P` from visual mode without changing
> the unnamed register.
>
> Best,
> Christian
> --
> I have a rock garden. Last week three of them died.
> -- Richard Diran
>
> --
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZNUC6/aN7FOSMMec%40256bit.org.
>
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/94eeb2ba-65f9-551-7e92-9baf3ea7382d%40126.com.
Thursday, August 10, 2023
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment