Live data from Hacker News

How to Exit Vim

github.com

171–180 of 409 posts

Re: How to Exit Vim

#171

- 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.)

Emacs prompts you to use the tutorial on startup if you haven't configured it.

Re: How to Exit Vim

#172
post #148
post #135

Jokes aside, shouldn't the page start with actually teaching how to quit vim? The page is considerably popular to show up on a Google search. I imagine the frustration of a beginner actually trying the first examples and not getting the joke immediately.

Yeah, I mean if you really wanted to help people exit Vim you'd trap Ctrl-c in command mode and print the instructions at the bottom of the screen. Something along the lines of "Type :qa and press to exit Vim" would probably do it...

This kind of advice confused me early on because I didn't realize the : was part of the command for way too long. For beginners, you might want to spell it out further as: "shift and the : key, then qa, then Enter"

Re: How to Exit Vim

#174

Earlier quoted context omitted.

CES hasn’t been relevant in the past decade. Why would we care?

> CES hasn’t been relevant in the past decade. Why would we care? And Vim is? When there are editors like VS Code?

Vim is still VERY relevant. Lot's of us prefer its keyboard driven interface and it runs everywhere so if you do learn it it's something you can always have with you.

It's not like VS Code has much in the way of functionality that's not available to Vim/Nvim users via VSCode's extensions or LSP servers.

Re: How to Exit Vim

#175
post #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 lifet…

I'm confident we're at the dawn of a new era of AI driven vim closing.

My first attempts ended up with my bot buying stock in a clorox brand before posting questionably racist comments to my twitter, but these are minor concerns on the journey.

I'm streaming the process on twitch but please note that donations won't be considered as seed capital for stock assignment

Re: How to Exit Vim

#177
post #172
post #148

Earlier quoted context omitted.

Yeah, I mean if you really wanted to help people exit Vim you'd trap Ctrl-c in command mode and print the instructions at the bottom of the screen. Something along the lines of "Type :qa and press to exit Vim" would probably do it...

This kind of advice confused me early on because I didn't realize the : was part of the command for way too long. For beginners, you might want to spell it out further as: "shift and the : key, then qa, then Enter"

I think that's a great suggestion and probably gets the root of the whole exit vim meme.

Re: How to Exit Vim

#178
post #145

The Scrum manager way 1. Call in a meeting, early in the morning 2. Tell everybody what a good job they are doing. 3. Tell everybody that there is still a lot to do. 4. Tell everybody that "we" can do it. 5. Remind them of the importance of team work. 6. Go through the tickets. 7. Tell the project manager that a ticket for closing Vim is missing. 8. Write a ticket called "As a user I want to exit Vim!" on your own. 8…

Don't you need a definition of "done"?

Re: How to Exit Vim

#179

One of my Computer Science lecturers had a rule: use Vim for all development for his class whilst on campus, and if caught using any other editor/IDE – or committing any artifacts showing evidence of such – we would lose several percentage points from our final mark for his class. Harsh? Perhaps. But I can’t thank that lecturer enough for that rule. He converted a mostly IDE-wielding class into one that actually appr…

That's stupid and elitist. There's no reason to force students to go against IDEs that they're already used to, but also the general method of navigating around a computer which they're probably used to from MS Word etc.

I've found myself learning stuff better when there is no IDE correcting me all the time and auto-generating stuff out of thin air. IDEs are awesome once you know what you're doing but I do also see the reasoning for forcing to use an ancient (and still quite powerful) editor.

Disclaimer: I do most of my coding in Vim but use IDEs every once and a while.

Re: How to Exit Vim

#180
post #135

Jokes aside, shouldn't the page start with actually teaching how to quit vim? The page is considerably popular to show up on a Google search. I imagine the frustration of a beginner actually trying the first examples and not getting the joke immediately.

I don't know about vim, but in neovim you're greeted by the following when you launch it the first time: type :help nvim if you are new! type :checkhealth to optimize Nvim type :q to exit type :help for help This joke is pretty outdated :P (But still kind of funny)

[deleted]
Post reply on HN