c.vim: default to 4-column indentation with soft tabs
[cmccabe-etc] / .vim / indent / c.vim
index c5fbd50..df35563 100644 (file)
@@ -5,12 +5,12 @@ endif
 source $VIMRUNTIME/indent/c.vim
 let b:did_indent = 1
 
-" Linux kernel style indentation
-set sw=2
-set ts=2
+" 4-column indentation with soft tabs
+set sw=4
+set ts=4
 set et
 
-" 100 column limit
-set tw=100
+" 80 column limit
+set tw=80
 
-set cinoptions+=g2h2:2=2t0(0
+set cinoptions=:0,l1,t0,g0,(0   " C-Indent options: Linux-kernel style