Ian Kelling wrote:
> It says "filename  xxx lines, xxx characters", or "filename xxxL,
> xxxC".
> 
> I would prefer it to say nothing. Is it possible?
> 
> The reason is: I wrote a script that edits a file and does vim -c
> "echo \"some info\"", and it makes me hit enter because my cmdline
> window is 1 line high. I don't want to change my cmdline height. If
> there is some other workaround, that would be good too.
> 
> Thank you.

The :silent command will suppress it, but you have to make the edit an
Ex-command, too, not just list the filename on the commandline, which
may require additional escaping, too. E.g.

vim --cmd "silent e yourfile.txt" -c "echo \"some info\""

Ben.




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to