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
Despite what it says in the docs, $EDITOR and $VISUAL do not seem to be used when they are set. This is not because GIT_/TIG_EDITOR are set and overriding them, as I do not have them set.
In my actual environment I have $EDITOR set and none of the others, but you can see this by invoking tig directly with no existing env vars:
# these do not work
EDITOR=nvim tig
VISUAL=nvim
# these do work
GIT_EDITOR=nvim tig
TIG_EDITOR=nvim tig
The text was updated successfully, but these errors were encountered:
Maybe it should, but Tig currently does not support variables in core.editor / $GIT_EDITOR (i.e. unlike Git, the value is not interpreted by the shell when it is used).
Despite what it says in the docs,
$EDITOR
and$VISUAL
do not seem to be used when they are set. This is not because GIT_/TIG_EDITOR are set and overriding them, as I do not have them set.In my actual environment I have
$EDITOR
set and none of the others, but you can see this by invoking tig directly with no existing env vars:The text was updated successfully, but these errors were encountered: