Skip to content

Opencode editor docs incomplete #13956

Closed
Closed

Description

@4strodev

Description

/editor command was opening Visual Studio Code even I have EDITOR=nvim. After a little research, I found that this is for an env var called VISUAL that configures a GUI editor that takes precedence over EDITOR.

I don't have a mac, so I cannot check if this applies to POSIX systems or just Linux. If someone could test this would great.

The documentation should be updated, informing about the precedence of VISUAL over EDITOR

Plugins

No response

OpenCode version

1.1.51

Steps to reproduce

  1. Ensure you have EDITOR and VISUAL env vars configured and exported
  2. start opencode and execute /editor

Screenshot and/or share link

No response

Operating System

EndeavourOS x86_64 GNU/Linux 6.18.7-arch1-1

Terminal

Alacritty 0.16.1 (42f49eeb)

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 17, 2026
  2. github-actions commented on Apr 19, 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.

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 workingcoreAnything pertaining to core functionality of the application (opencode server stuff)docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions