From: ahoward Date: 2003-06-14T23:43:16+09:00 Subject: Re: I need a code beautifier or formatter On Sat, 14 Jun 2003, Michael Neumann wrote: > On Sat, Jun 14, 2003 at 10:01:36PM +0900, Joao Pedrosa wrote: > > Hello, > > > > I have some source code that is terribly formatted. It needs some good > > indentation at least. But I am too lazy to do it all by hand. > > > > Does anyone know a tool to do the job ? > > Vim can format Ruby code (visual select then press '='). for me this simply lines eveything up in a column - could you post the relevant bits of your .vimrc/.gvimrc or forward them to me directly? this sounds like a great feature... -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ara.t.howard@noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 | ~ > ruby -e 'p(%.\x2d\x29..intern)' ====================================