What's wrong with my editing process?
Nothing. Vim likes to talk and, in fact, that message is written before
you actually start editing your files, as can be confirmed if you issue gvim
instead of vim
.
Another clear, unambiguous way to confirm it:
strace -o vimStrace vim a.txt b.txt c.txt
Do what you want with Vim and then close it. Now have a look at the trace file.
The first write
call is (the English version of)
write(1, "3 Dateien zum Editieren\n", 24) = 24
How to turn off this annoying message?
If your Vim version is recent enough, invoking it with
--not-a-term
should solve it,
as statox already mentioned.
In my system, although --not-a-term
is available, it still does not implement
that functionality:
--not-a-term Tells Vim that the user knows that the input and/or output is
not connected to a terminal. This will avoid the warning and
the two second delay that would happen.
Also avoids the "Reading from stdin..." message.
{not in Vi}
And as the syscall shows, the message is written to file descriptor 1,
i.e. stdout.
Since stdout is also used to edit the files, the only reasonable ways to
suppress the message would be to turn to Gvim,
gvim a.txt b.txt c.txt > /dev/null
or explore the client-server capability of Vim. Both look overkill.