X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0bb2f696f2e934c5549a127a989fe7984275df67..ca1dc6d3ef003f7e44eec46231779cb18009c88d:/README.mdown diff --git a/README.mdown b/README.mdown index 5d87dc0..0694399 100644 --- a/README.mdown +++ b/README.mdown @@ -32,15 +32,6 @@ the `` key if so. For example, to remap it to `` instead, use: autocmd FileType python map :call Flake8() - -Tips ----- -A tip might be to run the Flake8 check every time you write a Python file, to -enable this, add the following line to your `.vimrc` file (thanks -[Godefroid](http://github.com/gotcha)!): - - autocmd BufWritePost *.py call Flake8() - To ignore errors, in your .vimrc: let g:flake8_ignore="E501,W293" @@ -53,6 +44,15 @@ To cutomize the location of your flake8 binary, set `g:flake8_cmd`: let g:flake8_cmd="/opt/strangebin/flake8000" + +Tips +---- +A tip might be to run the Flake8 check every time you write a Python file, to +enable this, add the following line to your `.vimrc` file (thanks +[Godefroid](http://github.com/gotcha)!): + + autocmd BufWritePost *.py call Flake8() + This plugin goes well together with the following plugin: - [PyUnit](http://github.com/nvie/vim-pyunit) (unit test helper under ``