Allow showing the currently active session name in the tab bar

This commit is contained in:
Kovid Goyal
2025-08-19 06:49:14 +05:30
parent 4c0752fd07
commit 41488fe8ba
4 changed files with 19 additions and 0 deletions

View File

@@ -60,6 +60,21 @@ In this manner you can define as many projects/sessions as you like and easily
switch between them with a keypress.
Displaying the currently active session name
----------------------------------------------
You can display the name of the currently active session file in the kitty tab
bar using :opt:`tab_title_template`. For example, using the value::
{session_name} {title}
will show you the name of the session file the current tab was loaded from, as
well as the normal tab title. Or alternatively, you can set the tab title
directly to a project name in the session file itself when creating the tab,
like this::
new_tab My Project Name
.. _complex_sessions:
More complex sessions