this post was submitted on 25 Oct 2023
2302 points (99.1% liked)
Programmer Humor
32721 readers
345 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If anyone needs the command: :q!
If you want the computer to ask if you're sure: :q
If you want to save: :wq
You’re nullifying that safety measure by doing this you know
Some people just want to see the world burning
Nah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.
I can quit vim any time I want. I just don’t want to.
It's the opposite of nerd sniping.
Or :x
:wq
will write even if you didn't change anything;:x
won't. (similar to:w
vs:up
)ZQ
and ZZ for save & quit
:cq
because why not :)I prefer
ZZ
if I want to quit and save