From: Justin Collins Date: 2006-05-15T05:40:07+09:00 Subject: Re: vim reindent/beautify tip --------------070407050100070006020908 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mike Nelson wrote: > Henry T. So Jr. wrote: > >> A slightly easier way to do this is to type =G (capital G) when the >> cursor is on the top line of the file. >> > > or from anywhere, > > gg=G > > i think the gem name actually vim-ruby... or maybe not because, whenever > I do =G the indenting gets really messed up. > > Or, use 'v' to enter visual mode, highlight the section you want to re-indent, and press '=' A variety of options :) -Justin --------------070407050100070006020908--