upvote
quitting vi is a basic competency test.

would you listen to a doctor that could not suture a cut? how about a mechanic that could not remove a socket from a ratchet?

simple file editing. vi has been around for every. if you haven't seen it, and needed it at least once, what have you been doing?

(personal anecdote: once had an engineering VP bring up that a stray ":wq" in a document was a sign of a real engineer...working outside of where he should be..)

reply
It's more of a cheap gotcha than a valid test. If we take somebody like me, I learned to code in IDEA/PyCharm, these days mostly code with either Zed or OpenCode, and occasionally drop into nano and Positron. I wouldn't be able to do anything in Neovim without looking it up simply because I had no reason to learn it. A doctor who learned practices appropriate in the 20th century might now necessarily be hired for knowledge of these practices today.
reply
You probably don't want a CIO who knows vim.
reply
I’d been developing with emacs for years before I learned how to quit vi. Just means he’s never had to change the config on a remote server with a barebones setup :-)
reply
I'm certainly not listening to someone who thinks vi is used by every developer
reply
used. maybe not. but cognizant of it. sure. and having used it once or twice.

come on! you are a software expert and you never had to edit a file on a machine where claude was not available?

reply
what if I told you some people weren't baptised into the unix ecosystem. Wild, I know.
reply
what would you say about a EE that could not use a scope?
reply
i would say that analogy was made by someone who seems to labour under the misunderstanding that you can only write code from within vi.
reply
> quitting vi is a basic competency test.

no, its pop quiz bullshit. Oh you know about ":wq"? Well done! But if you don't know, you do it a few times and now you know. It does nothing, outside of teaching you a bit about poor UX.

> if you haven't seen it, and needed it at least once, what have you been doing?

using one of the other available ides?

> once had an engineering VP bring up that a stray ":wq" in a document was a sign of a real engineer...working outside of where he should be..

That's not a sign of good judgement, that's a sign of being technically fashionable. It's hipster shit, akin to rejecting a candidate because they're a fan of Taylor Swift and don't know who the band Tool are.

reply
What distinguishes knowing about vim from knowing about virtually anything else? If you apply to a job in tech, you should know that by long-pressing the power button, your PC turns off. Is this pop quiz shit, too? The bar is ridiculously low these days, apparently.
reply
are you being sarcastic? Its nothing like the power button. Everyone has to press the power button but not everyone has to use Vi.

:wq is one of the most insane key combinations to quit an app and this is just hipster shit where people who use vim think they're the only "real engineers". It's just a disgusting level of arrogance and masturbation. The code is what matters, not the IDE. To focus on it as a sign of technical excellence makes a mockery of what engineers are supposed to care about (comp sci things) and replaces them with all the elegance of a high school bully belittling some other kid for not wearing Nikes.

reply
I used `killall vi` from another terminal for years before I finally memorized the proper way to do it.
reply
How did you save the edits you made in vi?
reply
Funny/informative story about this: There was a project, OpenHatch.org c. 2011 that tried to get people to be comfortable enough with programming to contribute to open source projects. In one of the tutorials (I think introducing command-line git?), if you followed the instructions, it would dump you into vim. It hadn't introduced to you vim by that point or explained that's what was happening, so you wouldn't even know enough to google the error. And this was a project that was supposed to be primarily focused on being newbie-friendly!
reply