code: func NewDefaultEditor(envs []string) Editor {
  	args, shell := defaultEnvEditor(envs)
  	return Editor{
  		Args:  args,
  		Shell: shell,
  	}
  }
docs: // NewDefaultEditor creates a struct Editor that uses the OS environment to
  // locate the editor program, looking at EDITOR environment variable to find
  // the proper command line. If the provided editor has no spaces, or no quotes,
  // it is treated as a bare command to be loaded. Otherwise, the string will
  // be passed to the user's shell for execution.