On Wednesday, August 14, 2013 2:18:40 AM UTC-5, Егор wrote: > 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'm not sure whether the 'autowriteall' handles this case, you can try it. The VimLeave autocmd event may also be helpful, maybe this will work: autocmd VimLeave * wall But, I'm not sure that fires on a shutdown. Or just do it the way I've been trained to do since I was a kid using WordPerfect in DOS: periodically save as you go, and never leave the editor running with unsaved things you need to keep. -- -- 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.
