summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-09 21:30:07 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-09 21:31:24 +0100
commitf10882affbc4b0999966571f0d96c23d8272cadb (patch)
tree803076a65a150b91ca9edb42457553b5081a557b /.config/vim/vimrc
parentcd190dcd199a8e5884f001e2a3a8894fa853e281 (diff)
downloaddotfiles-f10882affbc4b0999966571f0d96c23d8272cadb.tar.gz
dotfiles-f10882affbc4b0999966571f0d96c23d8272cadb.tar.bz2
dotfiles-f10882affbc4b0999966571f0d96c23d8272cadb.zip
vimrc: Add web projects specific settings
Diffstat (limited to '.config/vim/vimrc')
-rw-r--r--.config/vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index ae99746..1c5a0fb 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -101,6 +101,9 @@ autocmd BufNewFile,BufRead /home/ben/src/mesa*/configure.ac set sw=4 sts=4 ts=8
" wayland project specific settings
autocmd BufNewFile,BufRead /home/ben/src/wayland/*xml set sw=2 ts=8 sts=2 et
+" settings for web projects
+autocmd BufNewFile,BufRead /home/ben/htdocs/mutti-web/*{xsl,xml} set sw=2 ts=8 sts=2 et
+
" vimmanpager stuff
" disable line numbers when using vim as manpager
autocmd FileType man set nonumber nohlsearch nohlsearch