opencode extension Cmd + Option + K always inserts "@explore" #3733

Closed
opened 2026-02-16 17:41:16 -05:00 by yindo · 14 comments
Owner

Originally created by @Noitidart on GitHub (Dec 21, 2025).

Originally assigned to: @fwang on GitHub.

Description

I have installed opencode extension into Cursor with this version details:

Identifier
sst-dev.opencode
Version
0.0.12
Last Updated
2025-12-21, 16:26:50
Size
12.83KB

It used to work, but now Cmd + Option + K is not adding the file path and line numbers.

OpenCode version

1.0.185

Steps to reproduce

  1. Open integrated terminal and type opencode.
  2. Focus file and go to a line, like 10, press Cmd + Option + K it inserts "@explore"

Screenshot and/or share link

Image

Operating System

macOS 15.6

Terminal

integrated terminal of cursor

Originally created by @Noitidart on GitHub (Dec 21, 2025). Originally assigned to: @fwang on GitHub. ### Description I have installed opencode extension into Cursor with this version details: ``` Identifier sst-dev.opencode Version 0.0.12 Last Updated 2025-12-21, 16:26:50 Size 12.83KB ``` It used to work, but now Cmd + Option + K is not adding the file path and line numbers. ### OpenCode version 1.0.185 ### Steps to reproduce 1. Open integrated terminal and type `opencode`. 2. Focus file and go to a line, like 10, press Cmd + Option + K it inserts "@explore" ### Screenshot and/or share link <img width="758" height="699" alt="Image" src="https://github.com/user-attachments/assets/2f00955c-001f-4b31-8d61-a29dcca5862d" /> ### Operating System macOS 15.6 ### Terminal integrated terminal of cursor
yindo added the help-wantedbuggood first issueextension labels 2026-02-16 17:41:16 -05:00
yindo closed this issue 2026-02-16 17:41:16 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 21, 2025):

This issue mentions keybind-related functionality. For keybind-related issues, please also check our pinned keybinds documentation: #4997

Additionally, there are other Cursor extension-related issues you might want to review:

  • #5519: How to scroll in Cursor terminal?
  • #1246: Cursor extension installed popup appearing when not installed

Feel free to check these if they provide any context for your specific issue.

@github-actions[bot] commented on GitHub (Dec 21, 2025): This issue mentions keybind-related functionality. For keybind-related issues, please also check our pinned keybinds documentation: #4997 Additionally, there are other Cursor extension-related issues you might want to review: - #5519: How to scroll in Cursor terminal? - #1246: Cursor extension installed popup appearing when not installed Feel free to check these if they provide any context for your specific issue.
Author
Owner

@OpeOginni commented on GitHub (Dec 22, 2025):

@Noitidart Please can you confirm you are making use of the eopencode extension to open it in a window, or you just running opencode in the terminal?

Because the screenshot looks like its the terminal.

@OpeOginni commented on GitHub (Dec 22, 2025): @Noitidart Please can you confirm you are making use of the eopencode extension to open it in a window, or you just running `opencode` in the terminal? Because the screenshot looks like its the terminal.
Author
Owner

@rekram1-node commented on GitHub (Dec 22, 2025):

I think he is using the vscode extension in cursor

@rekram1-node commented on GitHub (Dec 22, 2025): I think he is using the vscode extension in cursor
Author
Owner

@OpeOginni commented on GitHub (Dec 22, 2025):

Hmm, just I cant replicate the issue, it only happens when i run opencode normally (run in terminal).

@OpeOginni commented on GitHub (Dec 22, 2025): Hmm, just I cant replicate the issue, it only happens when i run opencode normally (run in terminal).
Author
Owner

@ShpetimA commented on GitHub (Dec 22, 2025):

i fixed it creating pr in a minute

@ShpetimA commented on GitHub (Dec 22, 2025): i fixed it creating pr in a minute
Author
Owner

@Noitidart commented on GitHub (Dec 22, 2025):

Thank you all for the quick responses!

Its in integrated terminal of cursor. This same behavior is seen on my work computer where I use vs code.

@Noitidart commented on GitHub (Dec 22, 2025): Thank you all for the quick responses! Its in integrated terminal of cursor. This same behavior is seen on my work computer where I use vs code.
Author
Owner

@ShpetimA commented on GitHub (Dec 22, 2025):

created a pr for this issue @rekram1-node @OpeOginni managed to reproduce in vscode when you have time feel free to check it out

@ShpetimA commented on GitHub (Dec 22, 2025): created a pr for this issue @rekram1-node @OpeOginni managed to reproduce in vscode when you have time feel free to check it out
Author
Owner

@Noitidart commented on GitHub (Jan 16, 2026):

Sorry guys @ShpetimA @rekram1-node this is broken again. Even doing Cmd Shift P and selecting the action item is not working.

@Noitidart commented on GitHub (Jan 16, 2026): Sorry guys @ShpetimA @rekram1-node this is broken again. Even doing Cmd Shift P and selecting the action item is not working.
Author
Owner

@ShpetimA commented on GitHub (Jan 16, 2026):

@Noitidart Ill take a look if i can find a fix if you want you can open an issue

@ShpetimA commented on GitHub (Jan 16, 2026): @Noitidart Ill take a look if i can find a fix if you want you can open an issue
Author
Owner

@ShpetimA commented on GitHub (Jan 16, 2026):

@Noitidart I found the issue atleast on my end i had claudecode extension installed aswell and it had a keybind on cmd+option+k aswell and it was taking priority so opencode was doing nothing try checking in vscode keybindings for cmd+option+k if you have conflicting keybinds aswell

@ShpetimA commented on GitHub (Jan 16, 2026): @Noitidart I found the issue atleast on my end i had claudecode extension installed aswell and it had a keybind on cmd+option+k aswell and it was taking priority so opencode was doing nothing try checking in vscode keybindings for cmd+option+k if you have conflicting keybinds aswell
Author
Owner

@Noitidart commented on GitHub (Jan 16, 2026):

Thank you so much @ShpetimA! I'll check for conflicting bindings by tomorrow morning please, sorry for delay in reply.

@Noitidart commented on GitHub (Jan 16, 2026): Thank you so much @ShpetimA! I'll check for conflicting bindings by tomorrow morning please, sorry for delay in reply.
Author
Owner

@Noitidart commented on GitHub (Jan 17, 2026):

Hey there @ShpetimA - I have Cursor, fresh install but I can't find any conflicting keys. I'm not sure if my settings from past are remembered. I don't have Claude Code. Sorry if this is a me thing.

@Noitidart commented on GitHub (Jan 17, 2026): Hey there @ShpetimA - I have Cursor, fresh install but I can't find any conflicting keys. I'm not sure if my settings from past are remembered. I don't have Claude Code. Sorry if this is a me thing.
Author
Owner

@Noitidart commented on GitHub (Jan 26, 2026):

I tested on another laptop in VS Code (not Cursor, for improved test), cleared out all keyboard and even user settings, but Cmd + Option + K isn't working for me either. :(

Is anyone else experiencing this?

@Noitidart commented on GitHub (Jan 26, 2026): I tested on another laptop in VS Code (not Cursor, for improved test), cleared out all keyboard and even user settings, but Cmd + Option + K isn't working for me either. :( Is anyone else experiencing this?
Author
Owner

@Noitidart commented on GitHub (Jan 26, 2026):

Ohh I think I figured it out. I was opening integrated terminal, then typing opencode and then in editor hitting Cmd + Option + K. This used to work, but no longer does. I have to click the icon in top-right, and then Cmd + Option + K only works with that panel.

Image
@Noitidart commented on GitHub (Jan 26, 2026): Ohh I think I figured it out. I was opening integrated terminal, then typing `opencode` and then in editor hitting Cmd + Option + K. This used to work, but no longer does. I have to click the icon in top-right, and then Cmd + Option + K only works with that panel. <img width="1358" height="746" alt="Image" src="https://github.com/user-attachments/assets/4dea866f-c33f-48f6-995d-83643f48ede2" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3733