Maur¨─io wrote:
> Michael Brailsford wrote:
> >> I'm new to ruby and vim. Is it possible to ask vim to ident a piece 
> >>of ruby code? (...)
> 
> >The best way is to include the following in your .vimrc:
> >
> >filetype plugin on 		"Turn ftplugins on
> >filetype indent on 		"Turn ftindent on
> 
>   I'm really new to vim. After I insert those lines and restart vim, 
> how can I select a region of text and ask vim to indent it (I don't like 
> it to do it automatically)?

Move your cursor to the beginning of the block you want to indent, then press
'v' (visual mode) and move the cursor to the end of the block. 
Now press '=' to indent the selected block (of course you could have selected the 
block with another command). 

Regards,

  Michael