LogoLumide

Hot Exit & Session Recovery

Hot Exit saves unsaved buffer snapshots in the background so you never lose work if the app closes, updates, or crashes.


How It Works#

  1. Background Snapshots: Whenever a file is modified, Lumide writes dirty state snapshots to a local cache directory (~/.sofluffy/lumide/hot_exit/).
  2. Quit Without Prompts: You can close Lumide (Cmd+Q / Alt+F4) or reboot with unsaved files open without confirming save dialogs.
  3. Session Restoration: When Lumide restarts, all open tabs, split layouts, cursors, and unsaved changes are restored with the dirty indicator (•) intact.

Crash & Power Recovery#

If Lumide terminates unexpectedly (e.g. power loss or kernel panic):

  • Snapshots are preserved on disk.
  • On the next launch, Lumide detects the backup session and prompts to restore unsaved buffers automatically.

Settings#

In Settings -> General:

  • Hot Exit (files.hot_exit): true (default) or false. When set to false, Lumide prompts to save or discard unsaved changes before exiting.
  • Auto Save (files.auto_save): off, afterDelay, onFocusChange (default), or onWindowChange.
  • Auto Save Delay (files.auto_save_delay): Delay in milliseconds when files.auto_save is set to afterDelay (default: 1000).

Next Steps#