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
I use EDITOR as well as VISUAL environment variables:
EDITOR=ed
VISUAL=vi
Both have their uses and mean different things. Most command line tools use VISUAL and only fall back to EDITOR if the former is either empty or not set, in the following order: VISUAL -> EDITOR -> vi, i.e.: ${VISUAL:-${EDITOR:-vi}}.
It would be great if a visual editor, i.e vi(1), could be used while editing entries using rbw edit ... lastpass-cli had the same issue a while back ;^)
The text was updated successfully, but these errors were encountered:
rjc
changed the title
Please add support to VISUAL environment variable and only fall back to EDITOR if the former is either empty or not set
Please add support for VISUAL environment variable and only fall back to EDITOR if the former is either empty or not set
Mar 1, 2021
Hello,
I use
EDITOR
as well asVISUAL
environment variables:Both have their uses and mean different things. Most command line tools use
VISUAL
and only fall back toEDITOR
if the former is either empty or not set, in the following order:VISUAL
->EDITOR
->vi
, i.e.:${VISUAL:-${EDITOR:-vi}}
.It would be great if a visual editor, i.e
vi(1)
, could be used while editing entries usingrbw edit ...
lastpass-cli
had the same issue a while back ;^)The text was updated successfully, but these errors were encountered: