aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-11-09 11:28:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-11-09 11:28:26 +1300
commitdad9ec27b770db40506a8a952a5e1ca94912ef42 (patch)
tree8a88db9dab8cc643d0eeb2bd5e4896b5cee57bc0 /vim
parentChoose tmux sessions only (diff)
downloaddotfiles-dad9ec27b770db40506a8a952a5e1ca94912ef42.tar.gz
dotfiles-dad9ec27b770db40506a8a952a5e1ca94912ef42.zip
Alternative Apache paths
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 848c9486..2486b2aa 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -24,6 +24,13 @@ if has("autocmd")
nnoremap _vi :setlocal filetype=vim<CR>
nnoremap _xm :setlocal filetype=xml<CR>
+ " Apache
+ augroup apache
+ autocmd!
+ autocmd BufNewFile,BufRead *{etc,local,lib}/apache*/*.conf setlocal filetype=apache
+ autocmd BufNewFile,BufRead *etc/apache*/sites-*/* setlocal filetype=apache
+ augroup END
+
" Markdown
augroup markdown
autocmd!