From ef2016e2c667d1a6e48b93e0eae4cacf8998fb79 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 19 Nov 2011 11:49:19 +0100 Subject: [PATCH] vimrc: Save changes when running :mak[e]. --- vimrc | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.45.2