Default to vim if no editor is specified in the environment variables.