From 4414cfb05fbc0b8b69f4526be11334038165bd7c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 9 Apr 2014 00:40:29 +0200 Subject: vimrc: Add python settings --- etc/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/vimrc b/etc/vimrc index 0f4000c..6832264 100644 --- a/etc/vimrc +++ b/etc/vimrc @@ -44,6 +44,8 @@ colorscheme darkblue " Chaosdorf autocmd BufRead ~/var/svn/intern.chaosdorf.de/admin/log.mdwn nnoremap :6O### =strftime("%Y-%m-%d") derf- +autocmd BufNewFile,BufRead *.py setlocal tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab + map :if exists("g:colors_name") && g:colors_name == "darkblue" \ colorscheme default \ else -- cgit v1.2.3