From c393536bd61253b30b1861768b068a88563b7c4e Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 2 Mar 2016 17:27:17 +0100 Subject: [PATCH] Autoindent with = for python --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index ed1eefa..e5c5b8f 100644 --- a/.vimrc +++ b/.vimrc @@ -138,6 +138,8 @@ if has("autocmd") autocmd BufRead,BufNewFile *.py set softtabstop=4 autocmd BufRead,BufNewFile *.py set modeline autocmd BufRead,BufNewFile *.py set ft=python + " Indentation with = for python need autopep8 + autocmd BufRead,BufNewFile *.py set equalprg=autopep8\ - endif if has("autocmd")