Skip to content

Add TIG_EDITOR environment variable to configure editor#1098

Merged
koutcher merged 1 commit intojonas:masterfrom
koutcher:gh-889-tig-editor
May 21, 2021
Merged

Add TIG_EDITOR environment variable to configure editor#1098
koutcher merged 1 commit intojonas:masterfrom
koutcher:gh-889-tig-editor

Conversation

@koutcher
Copy link
Copy Markdown
Collaborator

@koutcher koutcher commented Apr 7, 2021

Closes #889

doc/tig.1.adoc Outdated

TIG_EDITOR::
The editor command. This environment variable overrides $GIT_EDITOR,
$EDITOR and $VISUAL.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could state the use case, even though it's fairly obvious. Maybe something like this:

The editor command to use when visiting files. This environment variable overrides $GIT_EDITOR,
$EDITOR and $VISUAL, so it allows to use a different editor from the one Git uses.

@koutcher koutcher force-pushed the gh-889-tig-editor branch from 127cbf7 to 2c34d2d Compare April 8, 2021 17:55
@koutcher koutcher merged commit 8b1945d into jonas:master May 21, 2021
@koutcher koutcher deleted the gh-889-tig-editor branch February 6, 2025 18:18
@koutcher koutcher restored the gh-889-tig-editor branch February 6, 2025 18:36
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.

Feature request: separate editor for git actions (blocking) vs files (non-blocking editor)

2 participants