On 22/04/15 00:49, Allan McRae wrote:
On 22/04/15 07:00, Evangelos Foutras wrote:
On 21/04/15 23:45, Jerome Leclanche wrote:
As long as the EDITOR variable is supported by those programs, maybe yes. But I don't think creating a symlink *anyway* and make vim provide vi is inappropriate.
Yes, the VISUAL/EDITOR environment variables should still be honored by these applications. It's only the default fallback editor that is going to change.
I'm slightly against adding a vi symlink. That suggestion made sense so as not to break programs that use vi as their default editor. With nano as the default editor, there's no technical reason to do this anymore.
I think the symlink is very important. And I am very against VIsudo calling anything other than vi by default. Unless you rename it nanosudo.
The problem is that vim is not provided in [core] and cannot be part of a base installation. We can't make an editor from [extra] the default. I'm open to suggestions, but consider that nano is the only remaining editor in [core]. (And it will work fine as a fallback editor.)