Hi,

gg=G works too, and it's shorter :)

-- 
Bruno Michel

Kent Sibilev a ˝─rit :
> ggVG=
> 
> On 8/28/06, John Lam <drjflam / gmail.com> wrote:
>> I'm in the process of converting to vim from emacs to help save my
>> hands. I'm using the excellent vim-ruby gem to syntax color my code.
>>
>> One thing that I haven't figured out how to do yet in vim is
>> reformatting source code. I do this in emacs via ESC-CTRL-Q . It's
>> really useful during refactoring when moving code fragments from one
>> place to another.
>>
>>
>> Thanks!
>> -John
>> http://www.iunknown.com
>>
>>
> 
>