Order of QuitPre and BufWrite autocmds in :x

7 views
Skip to first unread message

Francisco Giordano

unread,
May 20, 2019, 1:58:30 AM5/20/19
to vim_use
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?
Reply all
Reply to author
Forward
0 new messages