title: Format and Indent HTML in Vim
body: <p>I currently have a huge HTML file which doesn't have line breaks and just appears in a single line.</p>
  
  <p>I want to format it in vim (macvim in particular). I tried the following options, but none of them has worked for me.</p>
  
  <ul>
  <li>Selected the text and pressed = . This will only auto intend the code. But since the entire code is present in one line, it doesn't do anything</li>
  <li>I tried this Plugin <a href="http://www.vim.org/scripts/script.php?script_id=3613" rel="noreferrer">http://www.vim.org/scripts/script.php?script_id=3613</a> This kind of works but will insert linebreaks only for the current tag. I want the entire file to be formatted</li>
  </ul>
  
  <p>Is there a way to do this either using a Plugin or otherwise?</p>
  
  <p>Thanks!</p>