select-editor man page
select-editor — select your default sensible-editor from all installed editors
select-editor provides a coherent mechanism for selecting and storing a preferred sensible-editor on a per-user basis. It lists the available editors on a system and interactively prompts the user to select one. The results are stored as SELECTED_EDITOR in ~/.selected_editor, which is sourced and used by sensible-editor. SELECTED_EDITOR is overridden by the VISUAL and EDITOR environment variables.
select-editor was written by Dustin Kirkland <firstname.lastname@example.org>.
sensible-browser(1), sensible-editor(1), sensible-pager(1).