Skip to content

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

Closed

Description

@Noitidart

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

Activity

  1. github-actions commented on Dec 22, 2025

    @github-actions
    Contributor

    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:

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

  2. OpeOginni commented on Dec 22, 2025

    @OpeOginni
    Contributor

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

  3. rekram1-node commented on Dec 22, 2025

    @rekram1-node
    Collaborator

    I think he is using the vscode extension in cursor

  4. OpeOginni commented on Dec 22, 2025

    @OpeOginni
    Contributor

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

  5. ShpetimA commented on Dec 22, 2025

    @ShpetimA
    Contributor

    i fixed it creating pr in a minute

  6. Noitidart commented on Dec 22, 2025

    @Noitidart
    Author

    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.

  7. ShpetimA commented on Dec 22, 2025

    @ShpetimA
    Contributor

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

  8. Noitidart commented on Jan 16, 2026

    @Noitidart
    Author

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

  9. ShpetimA commented on Jan 16, 2026

    @ShpetimA
    Contributor

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

  10. ShpetimA commented on Jan 16, 2026

    @ShpetimA
    Contributor

    @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

  11. Noitidart commented on Jan 17, 2026

    @Noitidart
    Author

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

  12. Noitidart commented on Jan 18, 2026

    @Noitidart
    Author

    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.

  13. Noitidart commented on Jan 27, 2026

    @Noitidart
    Author

    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?

  14. Noitidart commented on Jan 27, 2026

    @Noitidart
    Author

    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
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 workingextensionRelates to vscode, zed, jetbrains, etc extensionsgood first issueGood for newcomershelp-wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions