I was surprised to see that :x emits first QuitPre and then BufWrite. Is there a way to detect that QuitPre is happening in the context of those commands? I.e. that the buffers will be written to disk after the autocmd runs?
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php