summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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