pub fn editor_command(
env: &LaunchEnv<'_>,
file: &Path,
) -> Result<EditorLaunch, LaunchError>Expand description
The editor for file: $VISUAL, else $EDITOR, split on whitespace
with its arguments ahead of the file. A terminal editor runs in a
terminal opened in the file’s directory.