On 26/10/08 00:29, 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.
>
> - Ian
The workaround I use is
if &cmdheight < 2
set cmdheight=2
endif
The if-wrapping is not stricly necessary, but this way if Vim is started
as, let's say, gvim --cmd "set cmdh=5", the height of the command-line
won't be reduced.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
227. You sleep next to your monitor. Or on top of it.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---