I only knew about EDITOR env var. Apparently for historic reasons many programs look first for an editor set in VISUAL, and fall back to EDITOR if that one is not set.
If there isn't an editor set I chose to use nano for macos and linux. It should be installed by default, and if you don't have an editor preference nano will be more user friendly than vim or emacs.
Fix #422.
I only knew about
EDITOR
env var. Apparently for historic reasons many programs look first for an editor set inVISUAL
, and fall back toEDITOR
if that one is not set.If there isn't an editor set I chose to use
nano
for macos and linux. It should be installed by default, and if you don't have an editor preferencenano
will be more user friendly thanvim
oremacs
.