- On Tuesday, December 11, 2012 1:22:30 PM UTC-6, shawn wilson wrote:
> if i haven't saved the session, is there a way to get vim to restoreNo. At least, you can't recover the window/tab page/buffer layout. But, you can recover changes to the files you were editing, as long as you have kept swap files enabled.
> back to the way it was (before a system crash?)
> if not is there aNot a very good way, since the info in a session file could change at any time during Vim execution. You could set up a CursorHold autocmd to call :mksession I suppose. You could even add other events like BufWinEnter to try to make changes as needed. Normally this is done on VimLeave instead, which won't help you in the case of a system crash. For example:
> setting to get it to autosave session info?
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