" .vimrc " " this script makes changes to the configuration based on pwd " if system('pwd') =~ '/home/.*/bart/work/thirdbrigade/' if system('pwd') =~ '/home/.*/bart/work/thirdbrigade/svn/trunk' set tabstop=8 set shiftwidth=8 set expandtab set modelines=2 endif if system('pwd') =~ '/home/.*/bart/work/thirdbrigade/.*Waikiki' set tabstop=4 set shiftwidth=4 set expandtab set modelines=2 endif endif if system('pwd') =~ '/scratch/openswan\.uml.*/linux-2\.6\..*\.git' set makeprg=make\ ARCH=um endif if system('pwd') =~ '/home/jukie/bart/work/thirdbrigade/bart/linux-2.6.*' set makeprg=make\ CC=gcc-4.0\ DEBUG=-g\ ARCH=i386 endif if system('pwd') =~ '/scratch/openswan.phosphorus-ocf-testing/klips-' set makeprg=make\ CC=gcc-4.0\ DEBUG=-g\ ARCH=i386 endif if system('pwd') =~ '/scratch/openswan.phosphorus-ocf-testing/openswan' set makeprg=make\ CC=gcc-4.0\ DEBUG=-g\ ARCH=i386\ KERNELSRC=/scratch/openswan.phosphorus-ocf-testing/klips-fsm.git\ DESTDIR=/scratch/openswan.phosphorus-ocf-testing/DEST/\ HAVE_OCF=true endif if system('pwd') =~ '/scratch/openswan.uml-builtin-esp/openswan-fsm.git' set makeprg=make\ ARCH=um\ KERNELSRC=/scratch/openswan.uml-builtin-esp/linux-2.6-built-in.git\ module26 nmap m :w:make module26 endif if system('pwd') =~ '/home/.*/bart/.*/shell-fm.*\.svn' set modelines=0 " no modelines [http://www.guninski.com/vim1.html] set tabstop=2 set shiftwidth=2 set noexpandtab endif if system('pwd') =~ '/home/jukie/bart/work/symbio/tdm/' set modelines=2 set tabstop=4 set shiftwidth=2 set expandtab endif