From 4e969b8c3b2ff130ffefdb035d3b88a4f9165b61 Mon Sep 17 00:00:00 2001 From: Johan Beyers Date: Mon, 6 May 2013 15:55:43 +0200 Subject: [PATCH] Control-tabs removed, smartindent replaced --- .vimrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index b5ca5ab..9ae2fda 100644 --- a/.vimrc +++ b/.vimrc @@ -4,7 +4,8 @@ call pathogen#infect() " Settings that I use every day. behave xterm -set smartindent +" Automatically use indenting according to filetype +:filetype indent on set backup set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp set backspace=2 @@ -30,8 +31,10 @@ colorscheme solarized "syntax on " Next and previous buffers -map :bp -map :bn +" These are commented out, since I use Terminator, which maps these to +" next/previous windows in the terminal. +"map :bp +"map :bn " This is commented out because it messes with snipMate tab completion. Still " need to see if it works better this way. @@ -87,7 +90,6 @@ au BufNewFile,BufRead *.zcml set filetype=xml.zcml au FileType python set ft=python.django " For SnipMate au FileType html set ft=htmldjango.html " For SnipMate - " Stuff for flex development au BufNewFile,BufRead *.mxml set filetype=xml au BufNewFile,BufRead *.as set filetype=actionscript