PEP8-style indentation in vim

less than 1 minute read

How do you automatically get vim to do PEP8-style indentation for python code? Look up this blog post which references this vim script. It has also been added to the dotvim repo.