Skip to content

Feature Request: Make keybindings configurable #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
d7manDev opened this issue May 16, 2025 · 4 comments
Open

Feature Request: Make keybindings configurable #162

d7manDev opened this issue May 16, 2025 · 4 comments

Comments

@d7manDev
Copy link

Currently, keybindings in OpenCode, such as Ctrl+K for the command dialog, are hardcoded. This can lead to conflicts with keybindings in other tools commonly used in the terminal, like tmux.

For example, many tmux users have Ctrl+K bound for pane navigation. This conflict prevents the OpenCode command dialog from being accessible when running OpenCode inside tmux.

It would be beneficial to allow users to configure keybindings through the .opencode.json configuration file to resolve such conflicts and allow for greater personalization.

Suggested approach: Add a section in the .opencode.json file where users can specify custom keybindings for various actions.

@kujtimiihoxha
Copy link
Collaborator

There is a PR #136 for that, @jesses-code-adventures started it and I have a few change requests, If @jesses-code-adventures pushes the changes before next week I'll get it merge, if not I can continue with it next week.

@jesses-code-adventures
Copy link

hey @kujtimiihoxha , apologies to disappear halfway through that PR, work got quite busy - will try to get your change requests in over the weekend!

@kujtimiihoxha
Copy link
Collaborator

thanks @jesses-code-adventures no worries at all.

@d7manDev
Copy link
Author

Will wait for @jesses-code-adventures and if he would any help i'm here 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants