Re: modelines
| From: | Andrei Zmievski | Date: | Thu, 28 Dec 2000 20:54:36 +0000 |
| Subject: | Re: modelines | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-753@lists.php.net to get a copy of this message | ||
On Thu, 28 Dec 2000, Chuck Hagenbuch wrote:
> I know there were some examples posted, but since I don't seem to have those
> messages, could someone send me an example (preferably documented) modeline for
> tabs and such for vi and emacs? I'll add them to the CODING_STANDARDS doc and
> commit a preliminary version to CVS.
For vim, I just put something like this as the first or the line of the file:
/* vim: set ts=4 sw=4: */
Of course, 'modeline' option has to be turned on in vim (it's usually on
by default anyway).
-Andrei
* 2 + 2 = 5 for extremely large values of 2. *