pub fn resolve_editor(config_editor: Option<&str>) -> String
Resolve which editor to use. Priority: $EDITOR -> $VISUAL -> config_editor -> vi