sensible-editor (1) Linux Manual Page
sensible-editor – sensible editing
Synopsis
sensible-editor [OPTIONS…]Description
sensible-editor makes sensible decisions on which editor to call. Programs in Debian can use this script as their default editor. sensible-editor try to do in the following order:- step]
- if VISUAL environment variable exists, execute VISUAL [OPTIONS]
- step]
- if EDITOR environment variable exists, execute EDITORĀ [OPTIONS]
- step]
- source the contents of file ~/.selected_editor and, if SELECTED_EDITOR environment variable exists execute SELECTED_EDITORĀ [OPTIONS]
- step]
- run editor [OPTIONS] command
- step]
- finally run nano-tiny [OPTIONS] command
See Also
environ(7) for documentation of the EDITOR, VISUAL variablesselect-editor(1) for changing a user’s default editor.
editor(1) for default system wide editor.
