-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Currently, only single-letter keybindings work after the leader key. Multi-letter sequences exit leader mode after the first keypress.
Example
"sidebar_toggle": "<leader>b" // Works
"sidebar_toggle": "<leader>bb" // Doesn't work - exits leader mode after first 'b'Expected behavior
Pressing <leader>bb should trigger sidebar_toggle.
Actual behavior
Pressing <leader>b exits leader mode immediately; the second b is typed as input.
Feature request
- Support multi-letter key sequences after leader (e.g.,
<leader>bb,<leader>gc) - Consider adding a tmux-style mode system where leader activates a "command mode" that persists until an action is matched or escaped
This would enable vim/tmux-like keybinding namespaces (e.g., <leader>g for git commands, <leader>b for buffer/sidebar commands).
Metadata
Metadata
Assignees
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui