feat(session): add sibling and parent session navigation#364
Merged
sudo-tee merged 2 commits intosudo-tee:mainfrom Apr 27, 2026
Merged
feat(session): add sibling and parent session navigation#364sudo-tee merged 2 commits intosudo-tee:mainfrom
sudo-tee merged 2 commits intosudo-tee:mainfrom
Conversation
Contributor
|
need it! |
Owner
|
This is really great. Thanks for this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two new session navigation actions for easier browsing of child session hierarchies.
Problem
When browsing a child session (e.g., session B, child of A), navigating to a sibling session (another child of A) required going back to the root session list, selecting parent A, then listing its children again. There was also no way to jump directly to a parent session.
Solution
select_sibling_session: Opens the session picker filtered to siblings (children of the same parent). Falls back to root sessions with a notification when the active session has no parent.select_parent_session: Directly switches to the parent session. Notifies when there is no parent.select_child_sessionis unchanged — it still shows children of the current session, preserving grandchild navigation.Navigation model
childsiblingparentchildNew keymaps
<leader>oBselect_sibling_session<leader>oPselect_parent_session