docs: clarify subagent session navigation keybinds (#16455)

This commit is contained in:
Wang Siyuan
2026-03-12 22:45:46 +08:00
committed by GitHub
parent 12efbbfa4c
commit a4f8d66a9b
2 changed files with 12 additions and 7 deletions

View File

@@ -29,9 +29,9 @@ OpenCode has a list of keybinds that you can customize through `tui.json`.
"session_interrupt": "escape",
"session_compact": "<leader>c",
"session_child_first": "<leader>down",
"session_child_cycle": "<leader>right",
"session_child_cycle_reverse": "<leader>left",
"session_parent": "<leader>up",
"session_child_cycle": "right",
"session_child_cycle_reverse": "left",
"session_parent": "up",
"messages_page_up": "pageup,ctrl+alt+b",
"messages_page_down": "pagedown,ctrl+alt+f",
"messages_line_up": "ctrl+alt+y",
@@ -114,6 +114,8 @@ By default, `ctrl+x` is the leader key and most actions require you to first pre
You don't need to use a leader key for your keybinds but we recommend doing so.
Some navigation keybinds intentionally do not use the leader key by default. For subagent sessions, the defaults are `session_child_first` = `\<leader>down`, `session_child_cycle` = `right`, `session_child_cycle_reverse` = `left`, and `session_parent` = `up`.
---
## Disable keybind