Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

14 Jan 2006

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.