vimでpep8を実行
最近python書く機会が多くなったので、自動でやってほしいよねと。
探したらこれが見つかった
https://github.com/nvie/vim-pep8
感謝しながらダウンロードしてきて.vimに展開
vundleの人は
" .vimrc Bundle 'git://github.com/nvie/vim-pep8.git' " :BundleInstall 実行
保存したときに実行するように設定
autocmd FileType python call s:python_settings() function! s:python_settings() autocmd BufWritePost <buffer> call Pep8() endfunction
quickfixに結果が出力されます