Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TIG_EDITOR environment variable to configure editor #1098

Merged
merged 1 commit into from
May 21, 2021

Conversation

koutcher
Copy link
Collaborator

@koutcher koutcher commented Apr 7, 2021

Closes #889

doc/tig.1.adoc Outdated
@@ -235,6 +235,10 @@ TIG_NO_DISPLAY::
Open Tig without rendering anything to the terminal. This force Ncurses
to write to /dev/null. The main use is for automated testing of Tig.

TIG_EDITOR::
The editor command. This environment variable overrides $GIT_EDITOR,
$EDITOR and $VISUAL.
Copy link
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 merged commit 8b1945d into jonas:master May 21, 2021
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