I've never really had to use a console editor for more than 10s of lines.
I've never really had to use a console editor for more than 10s of lines.
It's not as hard as it first seems to learn, either. Well worth the time spent, vi is worlds more powerful than nano.
So you're saying "why would you use X, when you could avoid that by using Y"?
Well, because people prefer X, for a variety of reasons. Not to mention vi is installed everywhere, while sublime and atom are not.
There are other CLI editors. I'm quite partial to ne (the Nice Editor), which has more manageable shortcuts than emacs, a command line (it's still a non-modal editor, to be clear), macros and syntax highlighting. Also jed is not bad. While vim (and nvim) have advantages, and certainly benefit from being ubiquitous and having ther shortcuts replicated in other programs, users should shop around, even on the command line.
set -o emacs
Will give command line editing bindings compatible with Emacs (which is also the default editing keys in MS-Windows and many IDE's BTW).
HTH
http://ss64.com/nt/syntax-keyboard.html
Also, the original comment was on "console editors" and not on "command line editing", which is what I thought the subject was about. Looks like I struck out on the whole comment.
"Use vi, nothing beats it." == "I use x and I like it just fine."
If that was your intention, my mistake. It's just not apparent.