I use =a{ all the time. I often write blocks of code using snippets from other 
places (function prototypes, member variables, conditionals, and so on), and 
=a{ will format just that block.

It also looks vaguely like a smiley face, which is nice :)

Max


> -----Original Message-----
> From: Kim Schulz [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 12, 2006 12:30 PM
> To: [email protected]
> Subject: Your best text/code formatting trick
>
> Hi,
>
> I am currently looking into different tricks for formatting text,
> code, etc. in Vim.
> I guess most users know the format-paragraph command gqq or the
> reindent entire code 1G=G
> But are there any other neat tricks - which ones are your favorites?
>
>
>
> --
> Kim Schulz    | Private :  http://www.schulz.dk
> [EMAIL PROTECTED] | Business:  http://www.devteam.dk
> +45 5190 4262 | Sparetime: http://www.fundanemt.com

Reply via email to