@@ -190,6 +190,8 @@ require('opencode').setup({
190190 [' i' ] = { ' focus_input' , ' n' }, -- Focus on input window and enter insert mode at the end of the input from the output window
191191 [' <M-r>' ] = { ' cycle_variant' , mode = { ' n' } }, -- Cycle through available model variants
192192 [' <leader>oS' ] = { ' select_child_session' }, -- Select and load a child session
193+ [' <leader>oP' ] = { ' select_parent_session' }, -- Go to parent session
194+ [' <leader>oB' ] = { ' select_sibling_session' }, -- Select sibling session (children of same parent)
193195 [' <leader>oD' ] = { ' debug_message' }, -- Open raw message in new buffer for debugging
194196 [' <leader>oO' ] = { ' debug_output' }, -- Open raw output in new buffer for debugging
195197 [' <leader>ods' ] = { ' debug_session' }, -- Open raw session in new buffer for debugging
@@ -603,7 +605,9 @@ The plugin provides the following actions that can be triggered via keymaps, com
603605| Toggle focus opencode / last window | ` <leader>ot ` | ` :Opencode toggle focus ` | ` require('opencode.api').toggle_focus() ` |
604606| Close UI windows | ` <leader>oq ` | ` :Opencode close ` | ` require('opencode.api').close() ` |
605607| Select and load session | ` <leader>os ` | ` :Opencode session select ` | ` require('opencode.api').select_session() ` |
606- | ** Select and load child session** | ` <leader>oS ` | ` :Opencode session select_child ` | ` require('opencode.api').select_child_session() ` |
608+ | ** Select and load child session** | ` <leader>oS ` | ` :Opencode session child ` | ` require('opencode.api').select_child_session() ` |
609+ | ** Select sibling session** | ` <leader>oB ` | ` :Opencode session sibling ` | ` require('opencode.api').select_sibling_session() ` |
610+ | ** Go to parent session** | ` <leader>oP ` | ` :Opencode session parent ` | ` require('opencode.api').select_parent_session() ` |
607611| Open timeline picker (navigate/undo/redo/fork to message) | ` <leader>oT ` | ` :Opencode timeline ` | ` require('opencode.api').timeline() ` |
608612| Browse code references from conversation | ` gr ` (window) | ` :Opencode references ` / ` /references ` | ` require('opencode.api').references() ` |
609613| Configure provider and model | ` <leader>op ` | ` :Opencode configure provider ` | ` require('opencode.api').configure_provider() ` |
0 commit comments