Auto indent lines with vim

Type this to auto format a messed up file when editing with VIM

So, gg to get the start of the file, = to indent, G to the end of the file, gg=G.