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

Open
opened 2026-02-16 18:08:26 -05:00 by yindo · 6 comments
Owner

Originally created by @Noitidart on GitHub (Jan 28, 2026).

Originally assigned to: @rekram1-node on GitHub.

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: https://github.com/anomalyco/opencode/issues/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

Originally created by @Noitidart on GitHub (Jan 28, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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: https://github.com/anomalyco/opencode/issues/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
yindo added the bug label 2026-02-16 18:08:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 28, 2026):

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

  • #5920: opencode extension Cmd + Option + K always inserts "@explore"

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

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

@github-actions[bot] commented on GitHub (Jan 28, 2026): This issue might be a duplicate of existing issues. Please check: - #5920: opencode extension Cmd + Option + K always inserts "@explore" Feel free to ignore if none of these address your specific case. For keybind-related issues, please also check our pinned keybinds documentation: #4997
Author
Owner

@Noitidart commented on GitHub (Feb 9, 2026):

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.

@Noitidart commented on GitHub (Feb 9, 2026): 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.
Author
Owner

@ShpetimA commented on GitHub (Feb 10, 2026):

@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

https://github.com/user-attachments/assets/ba484ab3-684e-4167-b0bd-5580236fed1e

@ShpetimA commented on GitHub (Feb 10, 2026): @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 https://github.com/user-attachments/assets/ba484ab3-684e-4167-b0bd-5580236fed1e
Author
Owner

@Noitidart commented on GitHub (Feb 11, 2026):

@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.

https://github.com/user-attachments/assets/67a3fd79-57d9-4f16-8e8d-04b637fc60df

@Noitidart commented on GitHub (Feb 11, 2026): @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. https://github.com/user-attachments/assets/67a3fd79-57d9-4f16-8e8d-04b637fc60df
Author
Owner

@ShpetimA commented on GitHub (Feb 11, 2026):

@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

https://github.com/user-attachments/assets/8c99ffa7-1593-473e-9cb8-0390d49b9610

@ShpetimA commented on GitHub (Feb 11, 2026): @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 https://github.com/user-attachments/assets/8c99ffa7-1593-473e-9cb8-0390d49b9610
Author
Owner

@Noitidart commented on GitHub (Feb 11, 2026):

@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.

@Noitidart commented on GitHub (Feb 11, 2026): @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`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7842