Save session

Save session — Save session state

Description

Saves the list of currently open windows.

The list of open windows is saved to the current session state file in the configured session directory.

This allows to persist the state of a working session over an application (or computer) restart and return to the same state later on. See the commands Restore session and Switch session for how to restore a saved session.

Some of the file handlers responsible for a window will save additional information into the state file to ensure for example that the same “location” is “active” after restoring the session later on.

It is also possible to automatically save the current session upon program exit and automatically restoring it upon program start. See the commands Toggle save session on exit and Toggle load session on start.