summaryrefslogtreecommitdiff
path: root/etc/vimrc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-04-09 00:40:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-04-09 00:40:29 +0200
commit4414cfb05fbc0b8b69f4526be11334038165bd7c (patch)
treef069ed1ba9428e240abde62022fc5af9cf733873 /etc/vimrc
parentfd9f3cbca56f8404b83317ab0a59a3c5a324c425 (diff)
vimrc: Add python settings
Diffstat (limited to 'etc/vimrc')
-rw-r--r--etc/vimrc2
1 files changed, 2 insertions, 0 deletions
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 <F5> :6<CR>O### <C-R>=strftime("%Y-%m-%d")<CR> derf<CR>-
+autocmd BufNewFile,BufRead *.py setlocal tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab
+
map <F6> :if exists("g:colors_name") && g:colors_name == "darkblue" <Bar>
\ colorscheme default <Bar>
\ else <Bar>