summaryrefslogtreecommitdiff
path: root/.config/vim
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-05-03 14:59:45 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-05-03 16:05:56 +0200
commitcbddc57abd5ddac051cc84103466c5101b22c43b (patch)
tree524beb625c113c107301df03af5497982e0aa24c /.config/vim
parentd6ba8ce28c705e2ac7f92994bf1dfbc291f68b73 (diff)
downloaddotfiles-cbddc57abd5ddac051cc84103466c5101b22c43b.tar.gz
dotfiles-cbddc57abd5ddac051cc84103466c5101b22c43b.tar.bz2
dotfiles-cbddc57abd5ddac051cc84103466c5101b22c43b.zip
vimrc: Add rules for mesa directory
Diffstat (limited to '.config/vim')
-rw-r--r--.config/vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index 50d12b3..604d7e1 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -92,6 +92,9 @@ runtime ftplugin/man.vim
" set bash syntax - pressed v in bash-vi mode
au BufRead,BufNewFile /tmp/bash-* let is_bash=1|setfiletype sh
+" project specific settings
+autocmd BufNewFile,BufRead /home/ben/src/mesa/* set sw=3 ts=8 sts=3 et
+
" vimmanpager stuff
" disable line numbers when using vim as manpager
autocmd FileType man set nonumber nohlsearch nohlsearch