would quickly align the whole file, but you will be at the beginiing of the file after that. To align and still remain in the same line where you were, just add this mapping to your .vimrc
map <F7> mzgg=G'z<CR>
Now, just press <F7> whenever you want to align your file.
I just use. Use whatever you prefer instead of <F7>.