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

Show parent comments

3

u/Elathrain May 24 '17

The era definitely wasn't the only influence. The time period had more to do with the abundant use of command lines and the assumption that anyone using a software is prepared to spend some time reading its documentation and/or getting used to it instead of expecting a first-time usability UX. As someone not born when VIM was made, I don't want to confuse anyone into thinking I have special insight into the details.

The "how do you quit" problem does seem to be endemic to modal editors, as you present it. I'm not familiar with those editors, but to generalize off of what's here, you need to learn the specific way that a given editor releases control or you just can't get out.

Some software like VirtualBox (not an editor but mouse/keyboard capture is a similar UI hurdle) handles this by having a semi-annoying popup that tells you how to un-capture your mouse (with a "never show this again" button). VIM "handles" it by assuming you learn how. There are arguments for both, and I'm sure there will be disagreements on their validity.

I suppose what I'm really getting at is that people saying "the design of VIM is bad" seem to be strongly implying that this means VIM is bad and should be changed (and should HAVE been changed), which I want to oppose with the idea the each editor has its place and purpose. Yes, modal editors like VIM place somewhat more onus of learning on the user, but that's a price with a payoff so you can't just generalize it as "good" or "bad".

2

u/anilm2 May 24 '17

I wonder if so much of the vim hate comes from it being the default editor. being dropped into a mode based program unknowingly can't be a good experience.

but, if you seek it out and learn it, its all you want.

i wish RES had a vim-like mode. i wouldn't have to go back and edit my posts as much from my constant re-shuffling.

2

u/Elathrain May 24 '17

Yeah I bet that's pretty much most of the VIM hate right there. Using a mode-based editor when you've never seen one before, or getting dropped into it without warning.

Of course, if you end up in a unix-like CLI environment for some reason you could also feel "forced" to use it, since there aren't a lot of alternatives that aren't also mode-based or VIM-derivative (EMACS nonwithstanding as if you have a problem with VIM being mode-based, you'll absolutely hate EMACS).