projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0a97cf9
)
c.vim: default to 4-column indentation with soft tabs
author
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Sun, 1 Jul 2012 21:45:10 +0000 (14:45 -0700)
committer
Colin 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
patch
|
blob
|
history
diff --git
a/.vim/indent/c.vim
b/.vim/indent/c.vim
index
99386a2
..
df35563
100644
(file)
--- a/
.vim/indent/c.vim
+++ b/
.vim/indent/c.vim
@@
-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