Skip to content

docs: Document VISUAL environment variable precedence over EDITOR#15254

Open
onel wants to merge 2 commits intoanomalyco:devfrom
onel:askmanu/visual-editor-docs
Open

docs: Document VISUAL environment variable precedence over EDITOR#15254
onel wants to merge 2 commits intoanomalyco:devfrom
onel:askmanu/visual-editor-docs

Conversation

@onel
Copy link

@onel onel commented Feb 26, 2026

Issue for this PR

Closes #13956

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Updated the TUI documentation to document the VISUAL environment variable and its precedence over EDITOR.

The updated "Editor setup" section includes examples for both Linux/macOS and Windows, with guidance on when to use VISUAL vs EDITOR. This resolves the confusion where users had EDITOR=nvim but VS Code was opening because VISUAL was also set.

How did you verify your code works?

Only docs

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Feb 26, 2026
@github-actions
Copy link
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opencode editor docs incomplete

1 participant