Closed rjc closed 2 years ago
VISUAL, aka screen-oriented should be checked before EDITOR, aka line-oriented, editor - these are usually vi(1) and ed(1) respectively.
VISUAL
EDITOR
vi(1)
ed(1)
BTW, neither is set, please consider usign vi(1) :^)
In C and in Shell, this is most commonly expressed as:
${VISUAL:-${EDITOR:-vi}}
Thanks.
VISUAL
, aka screen-oriented should be checked beforeEDITOR
, aka line-oriented, editor - these are usuallyvi(1)
anded(1)
respectively.