Skip to content

[Feature Request] Intercept keyboard shortcuts in sidebar terminal to prevent IDE conflicts #36

Description

@ihousun

Description:
I am currently using VSCodium / VS Code, and I've noticed that many keyboard shortcuts in opencode (such as Ctrl+P) conflict with the IDE's default keybindings. As a result, I cannot use these shortcuts correctly when running opencode in the sidebar terminal because they are intercepted by the IDE.

When I run opencode in the standard integrated terminal, I can prevent the IDE from intercepting these shortcuts by setting "terminal.integrated.sendKeybindingsToShell": true in the settings. However, this setting seems to have no effect in the sidebar terminal.

Manually configuring exclusions for every single shortcut in keybindings.json is incredibly tedious.

Proposed Solution:
Would it be possible to add a feature or setting to the extension that automatically intercepts these specific shortcuts and routes them correctly when using the sidebar terminal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions