On Wed, 17 May 2006, Dennis Nezic wrote:

when i exit my wm (e16), since it doesn't (and shouldn't) close any
other programs, gvim is stuck without an x server, and doesn't handle
this loss gracefully. effectively, it's as if it was kill -9'ed ... and
thus leaves temporary files behind, which i later have to labouriously
clean up.

can it not do something better .... like simply close down if no
changes were made to the file (and close any temp files). and, i guess,
leave the temp files behind if changes were made (as it currently does
in all cases :\).

You could try something like

        :au VimLeave * if v:dying | quitall! | endif

if it helps. See ":help v:dying".

HTH.
--
Gerald

Reply via email to