Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Alternative Apache paths

  • Loading branch information...
commit f43abdf1880b52e158ef3cb37336bc3464cb8d0a 1 parent bb6aea7
Tom Ryder authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 vim/vimrc
7 vim/vimrc
View
@@ -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!
Please sign in to comment.
Something went wrong with that request. Please try again.