Format sourcecode with VIM

I once read an article that explained how i could make Vim format my code but i forgot what the command was. Many websearches for “vim indent code” later i had the luminous idea to search for “vim format code” instead. The first site i visited already had the answer i had been looking for: “gg=G”. Simple as that :)

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>