c.vim: default to 4-column indentation with soft tabs
authorColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Sun, 1 Jul 2012 21:45:10 +0000 (14:45 -0700)
committerColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Sun, 1 Jul 2012 21:46:33 +0000 (14:46 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

.vim/indent/c.vim

index 99386a2..df35563 100644 (file)
@@ -5,10 +5,10 @@ endif
 source $VIMRUNTIME/indent/c.vim
 let b:did_indent = 1
 
-" Linux kernel style indentation
-set sw=8
-set ts=8
-set noet
+" 4-column indentation with soft tabs
+set sw=4
+set ts=4
+set et
 
 " 80 column limit
 set tw=80