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

-19

u/icantthinkofone May 23 '17

I've said it before and I'll say it again. How stupid are these people who can't figure out that :q quits out of vim? Or at the very least :wq or :q!

I mean, OMG! This is a topic? This is a struggle?

12

u/gastropner May 23 '17

If you're dropped into vim, how would you figure it out? I assume you know this is about people who are unfamiliar with vim, so why would they know the command for it?

-9

u/icantthinkofone May 23 '17

'man vim' or any tutorial on the internet. Just like you learn anything, you have to at least casually look at the docs.

18

u/kreiger May 23 '17

So you Google "exit vim" for a tutorial, and the top hit is StackOverflow.

→ More replies (3)

12

u/gastropner May 23 '17

Yeah, sure, but you do realise why people might be confused they need to read a manual to find out how to exit an application? Are you seriously thinking it's power users who are asking questions about exiting vim? Someone who has never used vim would probably expect it to work like most editors.

You seemed to assume that the people having troubles are people who already know about how vim works. Why on earth would they be asking if they already knew?

-8

u/icantthinkofone May 23 '17

READ A MANUAL TO LEARN HOW TO RUN A PROFESSIONAL SOFTWARE PROGRAM??!!! AM I CRAZY OR WHAT???!!!!

omg. OMG! How do redditors ever get out of bed in the morning?

9

u/gastropner May 23 '17

Why are you so angry? Please elaborate on how someone new (remember, it's probably people new to vim asking the question) would automatically assume that an editor is a "professional software program"? Why do you assume people already know the things you are angry at them for not knowing? It makes no sense at all.

You seem more interested in shouting than actually explaining your point of view, which seems to be that everyone should magically know that vim is a "profession software program" that recquires a manual to operate, when most editors that casual users so far have been in contact with will be intuitive (and remember: intuitive does not mean "I personally know how to use it", but that someone who has not seen it before will pick it up quickly).

1

u/icantthinkofone May 23 '17

These people tried vim and couldn't figure out how to quit and now blame vim cause they never bothered to look it up. I'm not angry. I'm just overwhelmed by the stupidity of these ... people.

11

u/gastropner May 23 '17

Ah, so reading the question on SO, does not count as "looking it up"?

And I don't know how else I was meant to interpret your sentences in all caps and more exclamation marks than necessary, if not as angry. Especially since you keep going on tirades instead of addressing the point.

It seems weird that you assume people are stupid for not being used to things you are used to. You still have not given any convincing argument as to why beginners would automagically know that vim is not like editors they are used to.

→ More replies (2)

11

u/evaned May 23 '17

Devil's advocate: If you just get dumped into Vim having never seen it before, how are you even going to know that what you're in is called Vim in the first place?

(If you just start up without a file you get a title screen, but there's no indication otherwise.)

→ More replies (3)

6

u/longbowrocks May 23 '17 edited May 23 '17

No one would know that :q quits vim without prior experience. The X button works for the window-based half of the software world, and ^c works for almost everything else. The only exceptions that come to mind are nano, which tells you how to exit on the bottom of its interface, and vi, which doesn't.

EDIT: Pardon me if the following seems like a rash response: I just browsed man vim, and found that it doesn't give clues on exiting, but does hint at vimtutor as a linked page. man vimtutor doesn't show how to exit vim, but I tried running it and found that it opens the tutorial in vim. To its credit, "EXITING VIM" is the second section (not the first for some reason).

1

u/flukus May 23 '17

Hitting ctrl-c will tell you how to quit.

Speaking of man, how do you exit that?

2

u/longbowrocks May 23 '17

Nice!

Just hit q. When I mentioned what uses what to exit, I forgot about a number of terminal programs like man and less that use q.

-1

u/icantthinkofone May 24 '17

You would think that the first time one uses vim, they would look up how to quit and not continue to be stumped and wonder what to do.

Equally surprising is that opening vim tells you right in your face how to quit but I know reading is something redditors loathe to do.

3

u/longbowrocks May 24 '17

People who accidentally run into vim, as noted elsewhere in this thread, and in other replies to your comment, tend to not know what they've stumbled onto. git rebase -i master, for example, is configured to use vim by default on some systems. Running the above command does not tell you the name of the program you find yourself in, or give you that helpful startup message.

Excuse me for saying so, but you seem like a person who has long forgotten how to recognize when other people are right.

-1

u/icantthinkofone May 24 '17

That is an issue for git, not vim. And one can presume they run into the issue more than once and give up. If they choose not to learn what's going on, that is their own problem and nothing to do with vim.

5

u/Nickoladze May 23 '17

Are you calling people stupid for not knowing how to do things they've never done before?

1

u/icantthinkofone May 24 '17

The statement was people can't figure out how to quit vim and that's why they don't use it cause it's too complicated for them.

9

u/bogdan5844 May 23 '17

If you don't use vim that often I can see how that will become a problem. It ain't like vim is the most intuitive software ever.

→ More replies (3)

6

u/TheQueefGoblin May 23 '17

Because when you're in insert mode, :q does not quit vim. You need to press Esc first.

-8

u/icantthinkofone May 23 '17

Whoa! Complicated!!!! How would a redditor ever figure it out?! I mean, in notepad, you have to move the mouse AND click on FILE to save and quit. How would a redditor EVER figure out needing to escape first?

I mean, are redditors required to learn their tools or what? This is just too much for them. Far too difficult. Ya' gotta have at least a 8th grade education I'd bet.

10

u/Peaker May 23 '17

You realize this whole topic is about people for whom "vim" is not "their tool"?

But an accidental invocation?

3

u/BoredMongolHorde May 24 '17

I know what you mean. My friend was trying to work on his car and he didn't even know how to strip the gear flange on an 04 Accord without googling it. I told him he's a fucking moron, how do people not just KNOW this stuff without looking it up?

1

u/icantthinkofone May 24 '17

I am positive you are incapable of reading more than two words in a row without being confused about what you just read.