title: How do I fix the indentation of an entire file in Vi?
body: <p>In Vim, what is the command to correct the indentation of all the lines?</p>
  
  <p>Often times I'll copy and paste code into a remote terminal and have the whole thing messed up.  I want to fix this in one fell swoop.</p>