From: Simon Ruderich Date: Sat, 19 Nov 2011 10:49:19 +0000 (+0100) Subject: vimrc: Save changes when running :mak[e]. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=ef2016e2c667d1a6e48b93e0eae4cacf8998fb79;p=config%2Fdotfiles.git vimrc: Save changes when running :mak[e]. --- diff --git a/vimrc b/vimrc index d950d07..dd6ba12 100644 --- a/vimrc +++ b/vimrc @@ -448,6 +448,9 @@ if has('autocmd') autocmd InsertLeave * set nopaste endif +" Save changes when running :mak[e] before 'makeprg' is called. + autocmd QuickFixCmdPre * write + " AFTER/FTPLUGIN AUTO COMMANDS " Disable spell checking for files which don't need it.