title: Setting up Vim for Python
body: <p>I really like the Emacs editor for Python because of its smart tabbing for instance if I have something like this</p>
  <pre><code>def foo():
      if bar:
           blah
           [b]eep
  </code></pre>
  <p>and I press tab on the cursor (which is on the b of beep), it will not insert a new tab causing a syntax error but it would toggle through the possible levels that beep can be on. Is there any way of getting this effect on Vim?</p>