Skip to content

Feature Request: Make keybindings configurable #162

Open
@d7manDev

Description

@d7manDev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions