feat(session): restore the last session from a keybinding
Besides the --session=last startup option, the saved state can now be brought back in a running kitty with restore_last_session, mapped to kitty_mod+alt+r. The option types are regenerated so the shortcut is actually part of the default configuration.
This commit is contained in:
7 files changed
+62
-1
No files matched your search
@@ -48,6 +48,10 @@ To restore it, start kitty with:
|
||||
|
||||
kitty --session=last
|
||||
|
||||
The same saved state can be restored inside a running kitty with the
|
||||
:ac:`restore_last_session` action, which is mapped to :kbd:`kitty_mod+alt+r`
|
||||
by default and adds the saved tabs to the current window.
|
||||
|
||||
Restoring is never automatic: without this option the saved state is ignored,
|
||||
so an unexpected state is never imposed on you. A state file that is corrupt,
|
||||
unreadable or too large is discarded and kitty starts normally. :code:`cd`
|
||||
|
||||
Reference in new issue
Block a user