From: lasitha Date: 2009-03-01T15:24:09+09:00 Subject: Re: Ruby beginner Problem On Sun, Mar 1, 2009 at 10:46 AM, Zayd Connor wrote: > I'm using Vim text editor, and have not yet figured out how to auto format my code. :h = In Normal mode, hitting == will format the current line. It takes the usual motion prefixes, so e.g. 5== will format the next 5 lines. In Visual mode, = will format the selection. This should work for any recognized file type. Most standard vim installs include the ruby filetype plugin. If yours doesn't or needs upgrading, see: http://tinyurl.com/dd2ef9 Solidarity, lasitha.