X-Git-Url: http://git.madism.org/?p=~madcoder%2Fdotfiles.git;a=blobdiff_plain;f=vimrc;fp=vimrc;h=61c93a38f0b68361a996c579352946a7a4d322d3;hp=ffd0d5f325fed72fa6e7aba2f7d29b395c40d25e;hb=d55a1c24af98dc51263bc04f9d08ce2bcfd5722b;hpb=49f54dc98ba5d201bdae8fa18dabfa13bc561679 diff --git a/vimrc b/vimrc index ffd0d5f..61c93a3 100644 --- a/vimrc +++ b/vimrc @@ -92,9 +92,9 @@ set complete-=k complete+=k set tags=tags;/,.tags;/,TAGS;/ set cinoptions= -set cinoptions+=L0.5s " align labels at 0.5 shiftwidth -set cinoptions+=:0.5s,=0.5s " same for case labels and code following a label -set cinoptions+=g0.5s,h0.5s " same for c++ stuff +set cinoptions+=Ls " align labels at 0 shiftwidth +set cinoptions+=:0,=1s " same for case labels +"set cinoptions+=g0.5s,h0.5s " same for c++ stuff set cinoptions+=t0 " type on the line before the functions is not idented set cinoptions+=(0,Ws " indent in functions ( ... ) when it breaks set cinoptions+=m1 " aligh the closing ) properly @@ -104,9 +104,6 @@ set cinoptions+=j1 " java/javscript -> fixes blocks set diffopt=filler,context:5,iwhite set fillchars+=diff:\ ,vert:│ -set makeprg=LC_ALL=C\ make\ MONOCHROME=1 -set grepprg=egrep\ --exclude='*.blk.c'\ --exclude='*.blkk.cc'\ -n\ $*\ /dev/null - exe "set path=." . system("echo | cpp -v 2>&1 | grep '^ .*/include' | tr -d \"\n\" | tr \" \" \",\"") set path+=.;/