News for hackers. Stuff that matters.
Re:How to Exit Vim by Lio on Wednesday January 08, 2020 @07:40AM (#21990851)
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 <Enter> to exit Vim" would probably do it...

Re:How to Exit Vim by PandaWhisperer on Wednesday January 08, 2020 @07:56AM (#21990950)
At this point, learning how to exit vim by yourself is just standard hazing practice for new devs.

It's not a bug, it's a feature.

Re:How to Exit Vim by Kye on Wednesday January 08, 2020 @08:01AM (#21990998)
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 by Lio on Wednesday January 08, 2020 @08:06AM (#21991033)
I think that's a great suggestion and probably gets the root of the whole exit vim meme.
Re:How to Exit Vim by nj65537 on Wednesday January 08, 2020 @08:58AM (#21991442)
I don't have a qa key though
Re:How to Exit Vim by Lio on Wednesday January 08, 2020 @03:28PM (#21995440)
I’ll laugh about this now but then probably find out later that it was actually based on an obscure teletype terminal that actually had an “qa” key.
Re:How to Exit Vim by JdeBP on Wednesday January 08, 2020 @09:38AM (#21991800)
You're only targetting old 1970s terminal users, there, though.

If you wanted to also help slightly more modern users who are used to CUA conventions from GUIs, you would have the [F1] key bring up some form of help screen, which said something like "Get out of Vim: Use :qa!" at the top.

Re:How to Exit Vim by Kerrick on Wednesday January 08, 2020 @11:33AM (#21992905)
You're only targeting old 1990s GUI users there, though.

If you wanted to also help silghtly more modern users who are used to discoverable-UI conventions from mobile apps, you would have it so shaking your device brings up some form of chat bot, which would suggest asking it how to quit Vim.

Re:How to Exit Vim by JdeBP on Wednesday January 08, 2020 @12:24PM (#21993563)
1980s. [F1] is CUA 1987.

And one of these ideas is not like the others.

Clippy, please tell everyone how Lio's and my if-only-VIM-did-this ideas are different to Kerrick's idea.

Re:How to Exit Vim by fourthark on Wednesday January 08, 2020 @08:09AM (#21991054)
Yes, the version on my machine prints

    Type  :qa!  and press <Enter> to abandon all changes and exit Vim