> On Wed, 17 May 2006 10:21:41 -0500, > "Aaron Griffin" <[EMAIL PROTECTED]> wrote: > > On 5/17/06, Dennis Nezic <[EMAIL PROTECTED]> wrote: > > > On Tue, 16 May 2006 22:28:54 -0700 (PDT), > > > Gerald Lai <[EMAIL PROTECTED]> wrote: > > > You could try something like > > > > > > :au VimLeave * if v:dying | quitall! | endif > > > > actually, vim does do what i expect it to do ... even without the > > VimLeave autocmd ... gvim doesn't :\. i wonder if there is any event > > that might work with gvim. > > VimLeave works with gvim as well. Did you try the above suggestion?
i did, without success. it seems that gvim doesn't get a chance to even handle that event when the x server shuts down.
