Wednesday, February 17, 2021

Re: Stop notification from :wn

On Fri, Feb 12, 2021 at 10:40:15AM -0800, cjsmall wrote:
>
>When I use the :wn" command, before moving to the next file I see a
>notification like:
>
>"file1" 137L, 5359C [w]
>"file2" 137L, 5359C
>Press ENTER or type command to continue
>
>Obviously this requires a <CR> to advance to the next file. Is there a way
>to suppress this notice and simply move to the next file? I can write a
>little macro:
>
>:w^V^M:n^V^M
>
>that does the trick, but this is a pain given that ":wn" already exists.
>Suggestions?

Another option setting to consider is 'shortmess' which
can shorten message text and affect how messages are
displayed.

--
--
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/20210217162935.GC14859%40linux.site.

No comments:

Post a Comment