projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3260ef8
)
cpp.vim: use Ceph-style tabs.
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 27 Sep 2010 20:09:27 +0000 (13:09 -0700)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 27 Sep 2010 20:09:27 +0000 (13:09 -0700)
.vim/indent/cpp.vim
patch
|
blob
|
history
diff --git
a/.vim/indent/cpp.vim
b/.vim/indent/cpp.vim
index
ea6330a
..
2a6a7f1
100644
(file)
--- a/
.vim/indent/cpp.vim
+++ b/
.vim/indent/cpp.vim
@@
-5,10
+5,16
@@
endif
source $VIMRUNTIME/indent/cpp.vim
let b:did_indent = 1
+" ceph style tabs
+set tabstop=8
+set softtabstop=2
+set shiftwidth=2
+set noexpandtab
+
" Traditional cpp four-space indentation
-set sw=4
-set ts=4
-set et
+"set sw=4
+"set ts=4
+"set et
" 100 column limit
set tw=100