Re:How to Exit Vim
by DarkWiiPlayer on Wednesday January 08, 2020 @07:42AM
(#21990858)
You get the same thing in vim, but only when you open it without a file. Chances are, you only do that when you're already a vim user, and most non-users will be confronted with any random program opening a file in vim for them to edit (visudo, git commit, etc.)
[ Parent
| on HN ]
Re:How to Exit Vim
by thaumasiotes on Wednesday January 08, 2020 @08:54AM
(#21991390)
git will open pico if you haven't configured an editor. It's annoying.
If you have configured an editor, hopefully you already know how to quit.
It has to open something, and pico/nano, at least, has a menu that tells you how to quit. What else would be a preferable default?
Re:How to Exit Vim
by thaumasiotes on Wednesday January 08, 2020 @03:25PM
(#21995404)
I'm open to the idea that there isn't a better default, but that doesn't make it less annoying.
Another option would be to fail and prompt the user to configure an editor preference. That wouldn't be much different (to me) than what it does now.