When using Vim to read from stdin, it prints a informative message:
$ echo foo | vim -
Vim: Reading from stdin...
$
This is just an example. The actual use doesn't allow shell constructs. vim <(echo foo) is not an option.
Can I suppress that using only Vim options and/or vimrc settings?
In case you do need to know what this is for, I'm trying to use Vim for reading manpages (shameless plug). GNU man doesn't allow shell constructs in MANPAGER, and by using ftplugin/man.vim and other things, I have successfully managed to have a comfortable experience using just MANPAGER="vim -". The last remaining annoyance is the unsightly message printed after every manpage that I viewed.
export MANPAGER='vim -c "%! col -b" -c "set ft=man nomod nolist ignorecase" -'orexport MANPAGER="vim -"I see no problem?man lsopens the manpage as-expected. – Martin Tournoij Sep 08 '15 at 19:29echo foo | vim -Nu NONE -– muru Sep 08 '15 at 19:33: help lessgives some info for using it as a pager. – mtklr Sep 09 '15 at 13:24$VIMRUNTIME/macros/less.shsuffers from the same problem. – muru Sep 09 '15 at 18:11export MANPAGER="vim -M +MANPAGER -". – henrebotha Sep 08 '20 at 10:08