Hello,
* On Fri, Sep 08, 2006 at 04:27:54PM -0400, Jean-Rene David <[EMAIL PROTECTED]>
wrote:
> * Russell Bateman [2006.09.08 15:30]:
> > You see that pretty well anything you can do on
> > the ex command line in Vim (:set ignorecase,
> > etc.), you can put in these modelines.
>
> That's not tr
Aaron Johnson wrote:
List,
How can I include vim settings in the files I'm editing? For example, if
system wide I have syntax highlighting disabled but I want to enable it
just for one particular file. For c code I'd like to be able to include
something like this:
/*
* ?:syntax on
*/
It wo
Russell Bateman wrote:
You can put these modelines at the top of your file or the bottom.
Also, they can go on other lines, but I think there's a limit there
and yet another setting to change how tolerant Vim is in looking for
them, but as this approach suits me, I haven't experimented a lot
* Russell Bateman [2006.09.08 15:30]:
> You see that pretty well anything you can do on
> the ex command line in Vim (:set ignorecase,
> etc.), you can put in these modelines.
That's not true. You can only set options.
Excerpt from :help modeline:
No other commands than "set" are supported,
Just in case my answer will get you going a little quicker (because I've
always found vim help useful, but it's a lot more useful to those who
already know--I've scratched my head and had to experiment a lot for
even simple things)...
You can put these modelines at the top of your file or the
From: "Aaron Johnson", Fri, September 08, 2006 1:32 pm
>
> How can I include vim settings in the files I'm editing? For
> example, if system wide I have syntax highlighting disabled but I
> want to enable it just for one particular file. For c code I'd like
> to be able to include something like t
List,
How can I include vim settings in the files I'm editing? For example, if
system wide I have syntax highlighting disabled but I want to enable it just
for one particular file. For c code I'd like to be able to include something
like this:
/*
* ?:syntax on
*/
It would have to always alw