From a39aef383ee9b68c870f457171ce2c606c6d3a2c Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 11 Apr 2013 16:09:29 -0700 Subject: [PATCH] Add config file for python --- vim/ftplugin/python.vim | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 vim/ftplugin/python.vim diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim new file mode 100644 index 0000000..5df62ae --- /dev/null +++ b/vim/ftplugin/python.vim @@ -0,0 +1,7 @@ + +set expandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab +set shiftwidth=4 " unify +set softtabstop=4 " Pressing backspace works like tabs +set tabstop=4 " real tabs should be 4, but they will show with set list on + +