Hi,

Ben wrote:
> I love Vim.  My workplace uses 3 spaces for indenting its C/C++, but I 
> like to use 2 for ruby files.  Any tips on how to accomplish that?

Try this:

au BufRead,BufNewFile *.rb set sw=2,ts=2

Of course you can add any number of other settings (and it works for other
sorts of globs too. Oh, and did I mention that vim rocks? ;)).

-- 
# Best regards, Jan 'jast' Krueger <jast at ruby-co de>
print'text: ';l=gets;I=['%q,0-9a-f,',',','%q,(-/:-@[,'];i="pack"+
"('H*')";l=eval("l.un#{i}[0].tr #{I}"); $><<"$><<[%q_#{l.gsub /(^
\W{64}|\W{72})/x,"\\1\n"}_.\ngsub(/\\s/,'').tr(#{I.reverse})]."+i