goto_session: Add --sort-by=alphabetical

Have the interactive session picker list the sessions in a fixed order
rather than by most recent.
This commit is contained in:
Kovid Goyal 2025-09-29 13:03:23 +05:30
parent d8b524c692
commit 2ceddba923
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
4 changed files with 41 additions and 7 deletions

View file

@ -147,6 +147,10 @@ Detailed list of changes
- macOS: Workaround for bug in macOS Tahoe that caused closed OS Windows to
remain as invisible rectangles that intercept mouse events (:iss:`8952`)
- goto_session: Add ``--sort-by=alphabetical`` to have the interactive session
picker list the sessions in a fixed order rather than by most recent
(:disc:`9033`)
0.43.0 [2025-09-28]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -55,6 +55,8 @@ easily swap between them, kitty has you covered. You can use the
map f7>h goto_session ~/path/to/hot/hot.kitty-session
# Browse and select from the list of known projects defined via goto_session commands
map f7>/ goto_session
# Same as above, but the sessions are listed alphabetically instead of by most recent
map f7>/ goto_session --sort-by=alphabetical
# Go to the previously active session (larger negative numbers jump further back in history)
map f7>- goto_session -1