On Fri, Mar 12, 2010 at 03:49:53PM +0100, Jeri Raye wrote:
> Hi,
> 
> I have C code that I need to clean up
> With the = command I can do one or several lines .
> But is it possible to do this in one click for the complete file?

The = command takes a motion.  The G motion means "from the current
line to the bottom of the file".  So, if you are at the top of the
file, =G will indent the entire file:

gg=G

-- 
Erik Falor
Registered Linux User #445632 http://counter.li.org

Attachment: signature.asc
Description: Digital signature

Reply via email to