You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/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
Ensure you have EDITOR and VISUAL env vars configured and exported
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)
Reacted by wassname (Michael J Clark) and Yanqiao Zhu
Activity
github-actions commentedon Apr 19, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.