r/programming • • May 23 '17

Stack Overflow: Helping One Million Developers Exit Vim

https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/
9.2k Upvotes

1.1k comments sorted by

View all comments

50

u/jmblock2 May 23 '17

ITT: and how many of the people looking up this question know the command line interface to grep, sed, rsync, systemd, ssh, yada yada. I don't think it is unreasonable​ to have to have some prior knowledge to use a tool, and a damn good one at that.

116

u/Shaper_pmp May 23 '17

The difference is that:

  1. With --help (and respect for near-universal terminal conventions like ctrl+c) all of those tools have a widely-known, self-documenting, discoverable interface, and

  2. Nobody ever got dumped into a modal grep or rsync UI without any choice, and were then blocked from continuing their task until they worked out how to exit it

It's not wrong to need to read up a bit on how to use vim before you can use it properly. It's very wrong (at least in the modern world) to violate every single established UI convention of the platform, then offer "helpful" exiting instructions that don't always work, and then dump users straight into the UI without them having any choice about it.

That last one is the fault of various distros that should really standardise on something self-documenting and simple like nano/pico, but the other two can be laid right at vim's doorstep.

4

u/samling May 23 '17 edited May 23 '17

Edit: I missed the last sentence of your post, you beat me to this conclusion. I'll leave the post below for posterity. I still think the fault can be placed pretty squarely on other utilities forcing vim on their users; there's no reason vim can't stay in its own special corner for anyone who wants to take the time to learn it, and no reason that it should have to adapt to conventions that didn't exist at its inception and run contrary to its design.


It's not wrong to need to read up a bit on how to use vim before you can use it properly. It's very wrong (at least in the modern world) to violate every single established UI convention of the platform, then offer "helpful" exiting instructions that don't always work, and then dump users straight into the UI without them having any choice about it.

I get this, but this seems like a complaint that should be directed at whatever's dumping you into vim, not vim itself. The original article would be a nonexistent issue if e.g. crontab or visudo (name notwithstanding) dumped you into nano instead of vim.

→ More replies (3)