You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Add Ctrl+J/Ctrl+K navigation in menu bar (Vim-friendly) #7056
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
What do you want to change or add?
Add Vim-style keyboard navigation support to the project's menu bar (e.g., the "Commands" panel in the attached screenshot):
Bind Ctrl+K to move upward between menu options
Bind Ctrl+J to move downward between menu options
What are the benefits of implementing this?
Improves efficiency for Vim developers: they can navigate menus without switching to mouse/other keys, keeping a keyboard-first workflow
Enhances accessibility for a common developer group (Vim users), reducing friction when using the project's interface
Reacted by Arsham Shirvani, qw457812, Daniel Vélez, Jason R. Grant, Albert, Teddy Hwang, Ali Abbas, zdzDesigner, Sean Boult, rafael-unloan and 5 more
It turns out that the lists in the TUI dialogs have some hardcoded handlers. My proposed fix is to make a change where the key events are already hardcoded in dialog-select.tsx. The only intentional tradeoff I know of is in a dialog like /themes where you preview themes as you navigate. With ctrl+k, either you get the preview, or you get "input_delete_to_line_end" but not both. I chose the preview, as it's consistent with ctrl+j. My proposed change is over here: dblume/opencode@dev...dblume-fix-opencode7056
Activity
github-actions commentedon Jan 6, 2026
This issue might be a duplicate of existing issues. Please check:
<leader>bb) #6230: [FEATURE] Support multi-letter keybindings after leader key - related to vim-style keybinding namespacesFeel free to ignore if none of these address your specific case.
For keybind-related issues, please also check our pinned keybinds documentation: #4997
fengwk commentedon Jan 10, 2026
Expected to get this feature
rafael-unloan commentedon Feb 16, 2026
I would've thought you could implement via:
but nope. Why is this?
Fix anomalyco#7056
dblume commentedon Mar 25, 2026
It turns out that the lists in the TUI dialogs have some hardcoded handlers. My proposed fix is to make a change where the key events are already hardcoded in dialog-select.tsx. The only intentional tradeoff I know of is in a dialog like /themes where you preview themes as you navigate. With ctrl+k, either you get the preview, or you get "input_delete_to_line_end" but not both. I chose the preview, as it's consistent with ctrl+j. My proposed change is over here: dblume/opencode@dev...dblume-fix-opencode7056
dblume commentedon Mar 27, 2026
@kommander , I hope the PR mentioned above is acceptable. I think it adds useful and desired functionality.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.