pub fn resolve_editor_command( visual: Option<&str>, editor_env: Option<&str>, config_editor: Option<&str>, ) -> Option<String>
Resolve the editor executable: $VISUAL, then $EDITOR, then config editor.
$VISUAL
$EDITOR
editor