r/programming • • Apr 01 '19

Stack Overflow ~ Helping One Million Developers Exit Vim 😂

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

441 comments sorted by

View all comments

46

u/DJDavio Apr 01 '19

:q!

55

u/[deleted] Apr 01 '19

You forgot to hit the escape key first.

63

u/[deleted] Apr 01 '19

spamming esc in desperation is first thing people try so I think it is safe to say the poor sop is in right mode

28

u/elsjpq Apr 01 '19

Nah... Ctrl+C is what I try first, followed by frantic bashing on the keyboard, and by then, who knows what mode you're in

→ More replies (2)

8

u/nicksvr4 Apr 02 '19

:q:q[Esc][Esc][Esc]:q[Esc]:q!

7

u/DJDavio Apr 01 '19

Only if you're in insert mode, right?

19

u/cleeder Apr 01 '19

Just mash the escape key every several keys just to be safe.

→ More replies (1)
→ More replies (1)