FG

"Restore session" in gVim like in Firefox?

Fresh3 days ago
Mar 15, 20261732 views
Confidence Score0%
0%

Problem

I left some files opened in gVim, and hibernated my machine. Unfortunately, there was some error, and I lost my gVim session. Is it possible to do like modern browsers nowadays (like Firefox), that after "crashing" (not exiting in normal ways), showing a "Restore last session" dialog in my gVim?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: "Restore session" in gVim like in Firefox?

Low Risk

One possibility would be to run periodically. Vim does not support timers as far as I know, but you could associate to a event such as . A possible event to use in these cases is , e.g.:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment