Live data from Hacker News

How to Exit Vim

github.com

31–40 of 409 posts

Re: How to Exit Vim

#31

The question is not "How" but "Why" you would want to ever do that in the first place;-) Many years ago I knew a university professor and students said about him he might leave uni occasionally but he sure never leaves Emacs. Some live in Emacs, some live in Vim.

I live in a different universe to you it seems. The only vim command I know is :q.

Honestly, I tried several times over the decades and walked away with my head buzzing.

PS: I don't live in emacs either!

What I do love in both camps is how the explanations begin... "All you have to do is...[insert irrational (to non-vim/emacs users) command]" which makes me laugh every time.

Love the article, which ironically proves my stance of me keeping well clear.

Re: How to Exit Vim

#32

The question is not "How" but "Why" you would want to ever do that in the first place;-) Many years ago I knew a university professor and students said about him he might leave uni occasionally but he sure never leaves Emacs. Some live in Emacs, some live in Vim.

There was a tweet quite a bit ago:

> My husband uses vim. It’s why I married him. But I just found out his email client is emacs. I don’t know how I feel about this.

Re: How to Exit Vim

#33

Use nvim, press Ctrl-C and it will show the corresponding help message

It is not necessary to use nvim to see this help message; it's in vim 8.0 that comes stock with my Mac.

True, I just checked, though the help message is a bit different

Re: How to Exit Vim

#35

The question is not "How" but "Why" you would want to ever do that in the first place;-) Many years ago I knew a university professor and students said about him he might leave uni occasionally but he sure never leaves Emacs. Some live in Emacs, some live in Vim.

The list actually has that use case covered:

https://github.com/hakluke/how-to-exit-vim/blob/master/READM...

Re: How to Exit Vim

#36
It's amazing to think how far we've come since June 2018 where the record was just shy of three minutes (https://www.youtube.com/watch?v=TLbfqZBL8t8). These new strategies could allow experienced speedrunners to exit vim in times of 10 seconds (or perhaps less!?). I'm excited to see how this progresses, the vim speedrun community is vibrant and creative and I've no doubt we'll see a sub 5-second run within my lifetime.

Re: How to Exit Vim

#37
- So, how did you learn Vim? I heard there's quite a learning curve.

- I just open it, but I couldn't figure out how to quit. Then I have been using it for three years already.

(Same applies to Emacs.)

Re: How to Exit Vim

#40
Fun read! My next bash exercise will be to try and understand some of these commands, quite a feat! greping the ps output would work with any program, right ? That was pretty cool. Killing it from emacs was def a good laugh !

They should add the script kiddie way: `sudo rm -rf /` ^^

Post reply on HN