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?

(3 spaces is seriously the most retarded indentation-level ever, hands
down...sorry, just had to get that off my chest.)

Add

filetype plugin on

to your ~/.vimrc

Then create the file ~/.vim/ftplugin/ruby.vim and add the following in
it:

set shiftwidth=2

and perhaps

set softtabstop=2

if you like "tabs" to be "transparent".  (It”Ēs really nice.),
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}