]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: :make writes all files and not only the current one.
authorSimon Ruderich <simon@ruderich.org>
Tue, 20 Nov 2012 21:22:32 +0000 (22:22 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 20 Nov 2012 21:22:32 +0000 (22:22 +0100)
vimrc

diff --git a/vimrc b/vimrc
index f19fa910abfc9f16600b179b840ef0051123a7dc..51aabeff5a5f7bdfd4ded89bee1cf59aa79b7b89 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -901,10 +901,10 @@ if has('autocmd')
             autocmd InsertLeave * set nopaste
         endif
 
-" Write file when running :mak[e] before 'makeprg' is called. QuickFixCmdPre
-" doesn't exist in older Vims.
+" Write all files when running :mak[e] before 'makeprg' is called.
+" QuickFixCmdPre doesn't exist in older Vims.
         if exists('##QuickFixCmdPre')
-            autocmd QuickFixCmdPre * write
+            autocmd QuickFixCmdPre * wall
         endif
 
 " Don't ignore case while in insert mode, but ignore case in all other modes.