X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=.vim%2Findent%2Fcpp.vim;h=04e779b9443d42bb8f8c06e3b97ef8d82d113b14;hb=0e9c07aad8cbacf0502ff619594c7b453a83dc6d;hp=10b5e8fbd0338fe557a835ea8d81016a8489c5b5;hpb=bb75b38cd641550268ca4df4c9a7678d4234faee;p=cmccabe-etc diff --git a/.vim/indent/cpp.vim b/.vim/indent/cpp.vim index 10b5e8f..04e779b 100644 --- a/.vim/indent/cpp.vim +++ b/.vim/indent/cpp.vim @@ -5,12 +5,19 @@ 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=2 -set ts=2 -set et +"set sw=4 +"set ts=4 +"set et " 100 column limit set tw=100 set cinoptions+=g2h2:2=2t0(0 +