[oclug] vim

Patrick Smith patsmith at pobox.com
Fri Mar 15 14:42:30 EST 2002


Peter wrote:

>Seems odd it would not have a switch though? Seems preferable to have a
>-c  i.e. vim -c prog.pl  or something along those lines so one can have
>it on or off with ease. My $.02 worth :-)
>
You can do

    vim -c 'syntax off' <file>

Which is a bit much to type every time, but you could create a script or 
alias to do it for you.





More information about the OCLUG mailing list