7 ms·
> I feel like nano shipping as the default editor is a step-back. I’ve never used a distribution that includes nano, but not also some variety of vi and/or ema
by deaddodo 4y ago
> I feel like nano shipping as the default editor is a step-back.
I’ve never used a distribution that includes nano, but not also some variety of vi and/or emacs. And there’s no “favorite”/“default” binding in terminal.
There are defaults in the GUI, however those are almost exclusively Kate or gEdit. And new users probably use those far more frequently as their first editor.
The only qualifier I can figure for nano being a default is the number of tutorials/guides that use it.
- ketzu 4y ago> And there’s no “favorite”/“default” binding in terminal. There is. There is the EDITOR environment variable and the alternatives editor. They will be used when a program triggers an interaction that uses a text editor (e.g., mutt, git and more) instead of manually opening an editor yourself. There are also distributions that only ship with a minimal set of editors, forcing you to install different ones. This might also be considered a "default" editor by lots of people. edit: if you consider a "default binding" only one for manually opening a text file, then you are right, but I don't think that is what people talk about when referencing a "default text editor"
- deleted 4y ago[deleted]
- dijit 4y agovisudo opens nano on most distributions (ubuntu, debian) despite the name being visudo. whatever the root users $EDITOR variable is set to (and any subsequent created user) is the default. vi/vim wasn't even installed last time I installed ubuntu minimal: but nano was.