title: How do I get great auto indenting with Vim and Yaml?
body: <p>Right now I am using 
  <code>set autoindent</code>
  when I edit Yaml files in Vim, and it works okay by just copying the previous line's indent when you start a new line. I can't help but feel like it could be a little smarter, though. What would be great is if starting a new line after
  <code>foo: "bar"</code>
  could keep the same indent level, but starting a line after
  <code>foo:</code>
  would add an additional level of indent.</p>