Skip to content

Regression VS Code extension Cmd + Option + K no longer working with integrated terminal #10993

Closed

Description

@Noitidart

Description

This is a regression. Pressing Cmd + Option + K used to work with integrated terminal. Now it only works with the side panel that opens. And moving that side panel to integrated terminal area captures keys very hard so it's not responding to normal keyboard shorts to change terminals.

Possibly related issue: #5920

Plugins

Official Opencode Extension https://marketplace.cursorapi.com/items/?itemName=sst-dev.opencode

OpenCode version

1.1.39

Steps to reproduce

I'm on a mac.

  1. Install VS Code fresh
  2. Open a file to edit
  3. Press Ctrl + `
  4. Type opencode
  5. Back in file, highlight a line, and press Cmd + Option + K

It doesn't move focus back to integrated terminal opencode and put the file and line number in it.

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

VS Code Integrated Terminal. Same as Cursor Integrated Terminal

Activity

  1. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  2. Noitidart commented on Feb 9, 2026

    @Noitidart
    Author

    I checked the other thread, that was another issue, where Cmd + Option + K would always insert "@explore". Currently, the hotkey doesn't work with integrated terminal. It only works with the side panel that is opened with Cmd + Esc - however that side panel is not good as I can't drag and drop images there. Cmd + Option + K used to work with integrated terminal, but no longer does.

  3. ShpetimA commented on Feb 10, 2026

    @ShpetimA
    Contributor

    @Noitidart I checked this out again but I can't seem to reproduce can you share a video here is my setup and as you can see it opens the terminal for me and inputs the file line

    Screen.Recording.2026-02-10.at.7.42.38.PM.mov
  4. Noitidart commented on Feb 11, 2026

    @Noitidart
    Author

    @ShpetimA Thanks so much for your support!

    Wowww that's so weird!! Your video is perfect. I wonder why it's not working for me. That's exactly the way I was expecting it to work. Its been broken for me for weeks.

    opencode-hotkey-broke-integrated-terminal.mov
  5. ShpetimA commented on Feb 11, 2026

    @ShpetimA
    Contributor

    @Noitidart I know what your issue is from just this video for some reason on your end when you run opencode its not renaming the vscode terminal to opencode and instead its renaming to node you can manually rename to fix it just rename you terminal instance in vscode to opencode by rightclicking and should work

    Screen.Recording.2026-02-11.at.10.16.18.PM.mov
  6. Noitidart commented on Feb 12, 2026

    @Noitidart
    Author

    @ShpetimA Thank you soooo much!!! I was struggling so bad for weeks!! That works!!

    Some context for possible fix: I install opencode with npm method. I only use node via nvm.

  7. github-actions commented on Apr 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  8. Noitidart commented on May 11, 2026

    @Noitidart
    Author

    @shanebishop1 there was another regression today. While I still have to keep renaming it manually. I used to be able to hit Cmd + Option + K while in the opencode terminal and it would insert whatever is current file path, or if something highlighted, then it would do that. But now it wont work. I have to focus the editor, then it works. I'm using Cursor, Cursor just updated, I'm not sure if it's on Cursors side. But also highlight to copy is also not working.

  9. Noitidart commented on May 12, 2026

    @Noitidart
    Author

    Actually I tested in Windsurf too, same issues. The keys in the opencode terminal, are no longer forwarding to the IDE. So like Ctrl + Shift + G to open git side bar. or Cmd + Shift + E to open files bar on side. I also noticed higlight to copy broke. And Cmd + C is unreliable. Version of opencode is 1.14.48

  10. Noitidart commented on May 15, 2026

    @Noitidart
    Author

    I have a fix for this here - #27679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions