Document how to update the currently active session

This commit is contained in:
Kovid Goyal 2025-08-19 22:08:19 +05:30
parent a9d282afd7
commit d7070d3b97
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -189,8 +189,14 @@ option, like this:
This will cause newly created windows, to belong to the currently active
session, if any. Note that adding a window to a session in this way is
temporary, it does not edit the session file, it is meant only to allow
adding of windows to sessions in the current kitty instance.
temporary, it does not edit the session file. If you wish to update the
session file of the currently active session, you can use the following
mapping for it::
map f5 save_as_session --relocatable --use-foreground-process --match=session:. .
The two can be combined, using the :ac:`combine` action.
Keyword reference
---------------------