Excerpts from Егор's message of Wed Aug 14 09:18:40 +0200 2013: > I'm using vim on Windows and Linux. So I need Vim save all buffers if > some of above OS is rebooting or shutdown. How to? I don't know in which way vim exactly behaves. While reading code I noticed that treating signals may differ depending on state, eg when running :! commands etc.
If you cannot find out how to do what you want keep in mind that - vim has swap files - that you can get close by eg using the idle event to :bufdo update (tlib has a special version, maybe also look at that) Eventually there are more interesting events such as enter/leave (not sure, eventually don't trigger in all situations, such as shell?) What you ask for is very uncommon, no application I know about does what you ask for. Most prevent Windows from shutting down or ask where to save. Marc Weber -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
