Friday, February 12, 2021

Re: Stop notification from :wn

Thanks to kwezi... who suggested prefixing
"silent" to the command.

:silent wn

does indeed work, but I don't want to have to type
that every time.  Stan Brown's comment to set
cmdheight to two or more also works, but it comes at
the price of permanently losing a full line of editor space.
This is not worth it for the benefit received.  So I guess
I'll just stick with a macro that issues either the
":w^V^M:n^V^M" or ":silent wn" sequence.

Thanks for the replies!

On Friday, February 12, 2021 at 10:58:29 AM UTC-8 Stan Brown wrote:

On 2021-02-12 10:40, 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

Set cmdheight to something larger than 2.

I found this at
:h press-enter

--
Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
https://OakRoadSystems.com

--
--
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/ff2cc3ff-4012-4e3c-9c0f-0c3b4b058aa4n%40googlegroups.com.

No comments: