Friday, February 12, 2021

Stop notification from :wn


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?

--
--
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/c44a75f6-9ac9-475b-a0cf-37c17f3c2411n%40googlegroups.com.

No comments:

Post a Comment