Autocommit of file /home/julien/.dotfiles/vim/.vimrc changed on host ares
authorJulien Valroff <julien@kirya.net>
Sun, 25 Dec 2011 21:02:18 +0000 (22:02 +0100)
committerJulien Valroff <julien@kirya.net>
Sun, 25 Dec 2011 21:02:18 +0000 (22:02 +0100)
.vimrc

diff --git a/.vimrc b/.vimrc
index ce47746..6c9e8f5 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -63,7 +63,7 @@ setlocal spell spelllang=fr,en
 set nospell
 
 " Allows command completion (using <tab>)
-set wildmenu
+:set wildmenu
 
 
 " ************************************************************************
@@ -100,6 +100,9 @@ if has("autocmd")
     command Soa :%s/\(2[0-9]\{7}\)\([0-9]\{2}\)\(\s*;\s*serial\)/\=UpdateDNSSerialZone(submatch(1), submatch(2)) . submatch(3)/gc
     autocmd BufWritePre /etc/bind/db.* Soa
 
+    " nginx configuration
+    au BufRead,BufNewFile /etc/nginx/sites-*/* set ft=nginx
+
 endif