From: "Anders Engström" Date: 2004-10-05T05:39:53+09:00 Subject: Re: [OT] Re: [SOLUTION] Secret Santas (#2) On Tue, Oct 05, 2004 at 05:04:52AM +0900, Ara.T.Howard@noaa.gov wrote: > On Tue, 5 Oct 2004, [ISO-8859-1] Brian Schr�der wrote: > > >Ara.T.Howard wrote: > > > >>class EmailList < Array > >>#{{{ > >> [snip] > >>#}}} > >>end > > > >hello Ara, > > > >Just out of interest, please do not understand this as an offence: > >to which end are you using all those #{{{ comments? Is it to make your > >editor understand indentation, or what is its purpose? > > vim is a folding editor. everything inbetween the markers appear as one > line > as something like > > +-- 3 lines: >> -------------------------------------------- > > in otherwords each class in my solution looks, to me, as > > class Foo > +-- n lines: >> ------------ > end > > and each method likewise. if you don't use folding i highly reccomend it - > folds can be cut, pasted, operated on, etc. and, of course, it makes 10,000 > source file a breeze to navigate. > That's neat. Would you care to share the relevant lines from your .vimrc? Best Regards //Anders -- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Anders Engstr�m aengstrom@gnejs.net . http://www.gnejs.net PGP-Key: ED010E7F . [Your mind is like an umbrella. It doesn't work unless you open it.]