Re: Tabs in the code and 80 characters

Enrico Zini <[email protected]> Thu, 15 May 2003 13:31:05 +0200
Newsgroups gmane.comp.gnome.gdome
Message-ID <[email protected]>
On Tue, Mar 18, 2003 at 08:36:18PM +0100, Luca Padovani wrote:

> I don't want to sound religious about this particular issue, just it
> makes me wonder if you are aware of ":set ts=2" which instructs vi to
> use 2 character indent. It seems to me like such a little effort... and
> I'm sure there's a way to instruct vi to do this automatically.

/* vim:set ts=2 sw=2: */

Either in the first lines or in the last lines of the file.

(I've read the thread only now: am I still in time for answering? :)


				Ciao! Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[email protected]>