Skip to content

How Do I Make Opencode STOP messing with vim mouse mode? #6552

Closed as not planned

Description

@aaronnewsome

Question

In my vimrc, I have the mouse to "", which makes my mouse work normally in vim. This means when I click in the window, my cursor stays exactly where it is. When I highlight text, nothing happens and vim doesn't switch into "VISUAL" mode, which means I can use the OS copy and paste commands. However, when launching the vim editor inside opencode, it ignores my mouse settings, which means clicking in the window moves the mouse. Highlighting text switches vim into visual mode - BLOCKING the OS copy key combination.

How do I stop this behavior?

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 31, 2025
  2. thdxr commented on Mar 25, 2026

    @thdxr
    Member

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

  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
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