Live data from Hacker News

How to Exit Vim

github.com

11–20 of 25 posts

Re: How to Exit Vim

#14

Earlier quoted context omitted.

I guess. It is non-ideal how unintuitive it is to exit vim, but esc-esc-q-! is really not that complicated.

I feel like you're missing a few esc's and a colon in there...

zz? Only one esc, but definitely a colon. vim is weird. Works for me, but I understand it’s not suitable for everyone’s tastes.

Re: How to Exit Vim

#15
post #13

Modal editing is fundamentally-insane UX.

I remember one “how to exit vim” tutorial that explored key combinations that would exit vim regardless of what mode you’re currently in:

:q! works in command mode, but obviously not in insert mode. :q! works in insert mode and incidentally also in command mode, but not in ex mode (extended command mode)! And so on, a longer and longer command is built that neutralises the current mode and whatever side effects that the key combo itself causes.

Re: How to Exit Vim

#16

I assume somebody thought this was funny?

A lot of people did, look at the contributors

There's this subculture in the computer world, the pinnacle of which is arguably still Eric Raymond's Jargon File (http://catb.org/jargon/html/) which I could never connect with it.

Re: How to Exit Vim

#20
post #14

Earlier quoted context omitted.

I feel like you're missing a few esc's and a colon in there...

zz? Only one esc, but definitely a colon. vim is weird. Works for me, but I understand it’s not suitable for everyone’s tastes.

oh, I love vim! I still hit esc anywhere between 5 and 7 times before typing :wq to save my work.
Post reply on HN