News for hackers. Stuff that matters.
Re:Helping a Million Developers Exit Vim by smacktoward on Tuesday May 23, 2017 @02:34PM (#14403893)
> If you took the modal interface away from vim, you wouldn't have vim anymore. If you don't want a modal interface, don't use vim.

The vast majority of people don't use vim, so this "solution" has already been widely adopted. (Which in turn causes people who like vim to periodically wonder why more people don't use it.)

The problem comes because there are scenarios where you don't have a choice as to which editor to use; if you're shelling into a server with limited privileges, for instance, vi/vim may be the only even remotely modern editor available. So lots of people find themselves forced to use it, and these are the people for whom the Stack Overflow thread is useful.

Re:Helping a Million Developers Exit Vim by disconnected on Tuesday May 23, 2017 @03:47PM (#14404602)
sigh

Do we need to spoon-feed you people the solution for all of your problems?

Use SSHFS to mount your remote file system, and edit your remote files with your fancy, LOCAL, non-vim editor.

Re:Helping a Million Developers Exit Vim by falcolas on Tuesday May 23, 2017 @02:45PM (#14403997)
> you don't have a choice as to which editor to use

Like... nano? Or pico? All quite broadly available, and easy as dirt to use. You can even use them to work with `visudo`, one of the few times where I could imagine you don't have a choice.

Also, if you can edit it remotely over SSH, you can scp it in two directions and use your own favorite editor (assuming that editor doesn't already have something like network editing already built in; most do).

If you "don't have a choice", you're not looking hard enough.

Re:Helping a Million Developers Exit Vim by khedoros1 on Tuesday May 23, 2017 @05:34PM (#14405577)
> The problem comes because there are scenarios where you don't have a choice as to which editor to use; if you're shelling into a server with limited privileges, for instance, vi/vim may be the only even remotely modern editor available. So lots of people find themselves forced to use it, and these are the people for whom the Stack Overflow thread is useful.

That doesn't sound like a reason to change vim, it sounds like a reason to change the configuration of the server to something saner. pico/nano makes sense to me, if the expected users are the kinds that wouldn't know how to exit vim or emacs.

Re:Helping a Million Developers Exit Vim by dotancohen on Tuesday May 23, 2017 @02:48PM (#14404038)
SSHing into a server implies a basic level of technical competence. The user presumably already knows cd, mv, ls, and family. Why would expecting the user to know a touch of VIM be out of place?

That said, any server admin who for whatever reason allows people to SSH in (shared hosting maybe, university, file sharing) should have nano installed. Anything else is just cruel!:wq

Re:Helping a Million Developers Exit Vim by Gracana on Tuesday May 23, 2017 @03:06PM (#14404203)
> SSHing into a server implies a basic level of technical competence.

They probably learned how to do that in a Stack Overflow thread as well. No competence necessary.