On Fri, 2020-06-26 at 08:44 +0800, Qiyu Yan wrote:
What about to provide a prompt to the user telling them the
difference
between editors?
For example, when a new user to fedora first invokes git commit
without $EDITOR set, a program named fedora-default-editor comes up
and asks: Which editor do you like?
User can do his or hers choice and the choice will be remembered by
setting $EDITOR in his or hers ~/.bashrc
The fedora-default-editor can be a small script that shows user all
the difference and set $EDITOR for the user.
It's a nice idea, but the problem with things like this is they
*always* introduce bugs, and often wind up being unmaintained, because
keeping them working is kind of a thankless task.
IMHO it's better to keep things simple and just pick a default. And the
default should definitely be nano. :D
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net