Vim plugin to auto-format Python code using pep8radius
Just call the :PEP8radius command, and it will reformat the modified parts of the current python file.
- Install pep8radius:
pip install pep8radius
- Add the plugin to vim using Vundle or any other plugin manager, pointing to this repo:
Plugin 'bkudria/vim-pep8radius'
(Or if you don't use any plugin manager, you can just copy the python_vimpep8radius.vim file to your .vim/ftplugin folder)