From b80c5bf2de8dffdbe9d9d98d7e4227eaaf23eb18 Mon Sep 17 00:00:00 2001 From: gryf Date: Sun, 11 Feb 2018 19:05:15 +0100 Subject: [PATCH] Removing noautoindent for python files This option was the reason, why inserting new line after a block, vim always placed cursor on column 0. Now indenting should works as expected. --- vimrc | 1 - 1 file changed, 1 deletion(-) diff --git a/vimrc b/vimrc index 9dd16f8..64e7a16 100644 --- a/vimrc +++ b/vimrc @@ -207,7 +207,6 @@ function s:SetPythonSettings() "{{{2 setlocal foldlevel=100 setlocal foldmethod=indent setlocal list - setlocal noautoindent setlocal smartindent setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class,with setlocal smarttab