Skip to content

Copy/paste shortcuts broken on VSCode Extension #25772

Closed as not planned
Closed as not planned

Description

@guthriec

Description

On MacOS with latest VSCode and OpenCode Beta extension, Cmd-V and Cmd-C do not work to copy paste. To get output copied to the clipboard, you have to go to the VSCode edit menu and click "copy."

Plugins

No response

OpenCode version

Extension version 0.1.1

Steps to reproduce

Create new assistant session (e.g. via "OC" button), try to paste something from the clipboard into the prompt field by pressing cmd-V, observe it fails.

Screenshot and/or share link

No response

Operating System

MacOS 15.7.4

Terminal

VSCode

Activity

  1. github-actions commented on May 4, 2026

    @github-actions
    Contributor

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

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

  2. 8-unlimit commented on May 21, 2026

    @8-unlimit

    I have the same problem

  3. github-actions commented on Jul 21, 2026

    @github-actions
    Contributor

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

  4. BenHizak commented on Sep 5, 2026

    @BenHizak

    this solves the problem.

    1. from command pallet Ctrl+Shift+P
    2. Open Preferences: Open Keyboard Shortcuts (JSON)
    Image
    1. Then paste this and save.
    [
        {
            "key": "ctrl+v",
            "command": "-editor.action.clipboardPasteAction"
        }
    ]
    1. You might need to reload window. I'm not sure.

    --

    This creates a new problem: pasting in Agent sidebar (including Claude). So I use shift + insert which is an old school shortcut for paste in windoes.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions