Skip to content

feat: add a dedicated SCISSORS_EDITOR override#13

Merged
ggueret merged 2 commits into
mainfrom
feat/scissors-editor-env
Jun 16, 2026
Merged

feat: add a dedicated SCISSORS_EDITOR override#13
ggueret merged 2 commits into
mainfrom
feat/scissors-editor-env

Conversation

@ggueret

@ggueret ggueret commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Add SCISSORS_EDITOR, a dedicated editor override resolved ahead of $VISUAL > $EDITOR > vi, mirroring git's GIT_EDITOR. It lets a caller point scissors at a specific editor or flags (e.g. a GUI editor with a dedicated, focused window) without overriding $VISUAL/$EDITOR, which the rest of the shell relies on.

A resolve_editor test pins the new priority; the README documents the order and the GUI-window use case.

ggueret added 2 commits June 14, 2026 04:27
Lets a caller point scissors at a specific editor or flags (e.g. a GUI
editor with a dedicated window) without overriding $VISUAL/$EDITOR, which
the rest of the shell relies on. Mirrors git's GIT_EDITOR.
@ggueret ggueret merged commit 2b93481 into main Jun 16, 2026
6 checks passed
@ggueret ggueret deleted the feat/scissors-editor-env branch June 16, 2026 21:10
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.

1 participant