From: bbiker Date: 2007-05-22T01:35:04+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? On May 21, 9:12 am, "Gregory Brown" wrote: > On 5/20/07, gga wrote: > > > Really? Not the vim I'm using (cream). It matches parentheses/ > > brackets like most editors, but it does nothing to hilight matching do/ > > end or def/end blocks. Its status line also tells me nothing about > > what function or class I'm in either. Worse, if I close a bracket, > > and the opening of it is outside the "page", it does not tell me what > > the opening statement was. So... no, I'd say it definitively fails > > and is worse than emacs. > > Or perhaps there's a setting I missed? > > It's probably that Cream does not have the proper ruby configuration > files bundled with it. > Consider using plain vim or gvim rather than Cream, as it gets rid of > most of the reasons you'd use vim! Someone wrote a macro (or whatever it is called) for gvim that automatically inserts an "end" statement whenever you enter a keyword that requires an "end". for example: type: "if cond" and press return the cursor goes to the next line and an "end" statement appears on the subsequent line with the proper indentation. if cond # cursor at start of this line. end