Sunday, February 18, 2018

Re: clear register @N

On Sun, Feb 18, 2018 at 6:37 PM, Ni Va <nivaemail@gmail.com> wrote:
> Hi,
>
> I need to clear register @N and i've tried this:
> call setreg('N', [])
>
>
> When I restart vim, register @N is always full.

Register N means "register n, but append rather than replace".

Try
:let @n = ""

Best regards,
Tony.

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