Skip to content

Change keybindings to navigate between child sessions#14814

Merged
jlongster merged 2 commits intodevfrom
jlongster/child-session-keys
Feb 27, 2026
Merged

Change keybindings to navigate between child sessions#14814
jlongster merged 2 commits intodevfrom
jlongster/child-session-keys

Conversation

@jlongster
Copy link
Copy Markdown
Contributor

Previous behavior: Pressing ctrl-x left and ctrl-right cycles through all agents, both the main agent and all subagents.

output-old.mp4

This PR changes it to reflect the hierarchy of agents: you press ctrl-x down to go "down" into the list of subagents. And then from there, because there is no prompt input, you can simply press left and right to cycle through the subagents. To go back to the main agent you press up:

output-new.mp4

keybind: "session_child_cycle",
title: "Go to child session",
value: "session.child.first",
keybind: "session_child_first",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These look confusing: the cycling is still basically the same but moved down. The only thing really added here is the "session.child.first" handler which moves to the first child session

@jlongster jlongster force-pushed the jlongster/child-session-keys branch from 1b6bb85 to 3859b2f Compare February 23, 2026 20:04
@jlongster jlongster force-pushed the jlongster/child-session-keys branch from 3859b2f to ab640f1 Compare February 26, 2026 15:33
@jlongster jlongster added the beta label Feb 26, 2026
@jlongster jlongster merged commit 3dc10a1 into dev Feb 27, 2026
12 of 14 checks passed
@jlongster jlongster deleted the jlongster/child-session-keys branch February 27, 2026 14:41
praxstack pushed a commit to praxstack/opencode that referenced this pull request Feb 28, 2026
jonathanmiddleton pushed a commit to jonathanmiddleton/opencode that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant