sponsor Vim development Vim logo Vim Book Ad

vim-autopep8 : vim-autopep8 is a Vim plugin that runs the currently open file through autopep8.

 script karma  Rating 77/25, Downloaded by 5267  Comments, bugs, improvements  Vim wiki

created by
tell k
script type
vim-autopep8 is a Vim plugin that applies autopep8 to your current file.

autopep8 automatically formats Python code to conform to the PEP 8 style guide.

see also https://github.com/tell-k/vim-autopep8

documentaion https://vim-autopep8.readthedocs.org/en/latest/
install details
simply put the contents of this repository in your ~/.vim/bundle directory.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-autopep8.zip 1.2.0 2018-06-03 7.0 tell k * Add new option "autopep8_on_save". (https://github.com/tell-k/vim-autopep8/pull/35) Thanks to @ahakanbaba
vim-autopep8.zip 1.1.1 2017-10-11 7.0 tell k fixed auto go to first line.
vim-autopep8.zip 1.1.0 2017-02-26 7.0 tell k - Support more aggresive options
- Support show diff in vertical split
- Support range selection
- Remove default <F8> key mapping.
vim-autopep8.zip 1.0.7 2014-09-19 7.0 tell k #15 :Autopep8 broken

#13 redraw under disable_show_diff mode
vim-autopep8.zip 1.0.6 2014-05-23 7.0 tell k No need to file scope variables.
* https://github.com/tell-k/vim-autopep8/issues/11

Add ability to pass commandline args
* https://github.com/tell-k/vim-autopep8/pull/10

fixe type
* https://github.com/tell-k/vim-autopep8/pull/9
vim-autopep8.zip 1.0.5 2014-05-15 7.0 tell k add "autopep8_indent_size" option
vim-autopep8.zip 1.0.4 2014-03-02 7.0 tell k * Changed to green the color of the "fixes comment"
* Function ":Autopep8" becomes callable.
vim-autopep8.zip 1.0.3 2013-12-30 7.0 tell k fixed bug & typo.
* https://github.com/tell-k/vim-autopep8/issues/5 when filename or filepath contain whitespace, cause error.
* https://github.com/tell-k/vim-autopep8/issues/7 typo. 'aggresive' => 'aggressive'.
vim-autopep8.zip 1.0.2 2013-10-25 7.0 tell k fixed typo. https://github.com/tell-k/vim-autopep8/pull/4
vim-autopep8.zip 1.0.1 2013-09-16 7.0 tell k * add "autopep8_disable_show_diff" option. default is 0.
* add help document. available "help autopep8".
python_autopep8.vim 1.0.0 2013-06-07 7.0 tell k Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.