From: Gavin Sinclair Date: 2002-08-01T00:59:01+09:00 Subject: Re: Style question What's really unfortunate, though, is that Vim has some killer features dealing with {...} blocks (on account of its C heritage and the plain ubiqity of such blocks. For example, you can delete, change, indent, or do whatever you like to the contents of {...} (or (...), [...], etc.) in an instant, no matter where the cursor is in the block. Obviously, this functionality does not apply to do...end blocks. Despite this loss, I still use do...end because it seems more fitting for Ruby. Sigh... Gavin > On Tuesday 30 July 2002 09:53 pm, Jim Freeze wrote: > > On Tue, Jul 30, 2002 at 11:19:52PM +0900, Michael Campbell wrote: > > > Is there an accepted standard as to when to use {} vs do/end? > > > > I personally like the {} for the simple reason that it is easy > > to test for matching pairs in vi. > > Note that matchit will also let you bounce between e.g. do/end pairs > in Vim. > > -- > Ned Konz > http://bike-nomad.com > GPG key ID: BEEA7EFE