2271
Very clever... (lemmy.ml)
submitted 11 months ago by Jorgelino@lemmy.ml to c/programmerhumor@lemmy.ml

I'm trying out Obsidian for taking notes, and this made me laugh.

you are viewing a single comment's thread
view the rest of the comments
[-] Vash63@lemmy.world 31 points 11 months ago

There's a few different ways to write that command in vim, does it accept all of them?

[-] Jorgelino@lemmy.ml 16 points 11 months ago

I'm honestly not super familiar with vim. I tried :q! and it accepted it, what are some other ways?

[-] genoxidedev1@kbin.social 15 points 11 months ago
[-] EternalNicodemus@lemmy.world 29 points 11 months ago
[-] genoxidedev1@kbin.social 8 points 11 months ago

Halfway true :3 I'm only a professional programmer which is why I attend in professional work fashion like thigh highs and arm warmers instead of fursuits. I'm more the stereotypical femboy programmer. Pre-edit: am i really just average 3,:

[-] EternalNicodemus@lemmy.world 2 points 11 months ago

Okay, you are a very cool and sweet femboy programmer :)

[-] Jorgelino@lemmy.ml 8 points 11 months ago

Ah, unfortunately it only asks you this question the first time you try it.

[-] Guru_Insights99@lemm.ee 2 points 11 months ago

You appear to be in the wrong subreddit (sublemmy?). This is a community based around programmer humor. I recommend you go to the furry sublemmy instead. It is for this reason I have down voted your post today

[-] genoxidedev1@kbin.social 8 points 11 months ago

I don't get it. I was pretty much replying with a programming related answer, being ":q". I only added my personal flair to it, being ":3". And I only expanded after another person assumed me to be a furry as well.

If you want me gone because of that, you got to get your priorities out of the gutter, there ain't none. And fix your stereotypes too. The other person at least replied humorously. You won't get a ":3" from me. Good day!

[-] purple@lemm.ee 4 points 11 months ago

Buddy where do you think furries get the money for fursuits? They are very expensive (or so I’ve heard) and lots of furries pay for their fursuits with high paying jobs like IT jobs

[-] itslilith 2 points 11 months ago* (last edited 11 months ago)

E37: No write since last change (add ! to override)

[-] ray@kbin.social 14 points 11 months ago
[-] user224@lemmy.sdf.org 8 points 11 months ago

Ah, thanks for ZQ. I only knew ZZ, alternative to :x.

[-] OpenStars@kbin.social 11 points 11 months ago

:wq will save and then exit, while :x will save only if the file has been modified and then exit, and then there's ZZ that does the same as :x, plus there are probably others:-)

[-] ray@kbin.social 17 points 11 months ago

The question specifically asked for "the command to quit Vim without saving"

[-] uzay@infosec.pub 8 points 11 months ago

They explicitly ask for the one that quits without saving, so I'd say :q! is the obvious choice

[-] GiantRobotTRex@lemmy.sdf.org 1 points 11 months ago

I agree that it's the most obvious choice, but it also doesn't work when there are hidden buffers open. :qa! and :cq should always work so they are arguably more correct

[-] NuXCOM_90Percent@lemmy.zip 6 points 11 months ago

Which means none of those are valid? Since this is specifically "quit without saving"

[-] oconnordaniel@infosec.pub 3 points 11 months ago
[-] steersman2484@sh.itjust.works 6 points 11 months ago* (last edited 11 months ago)

No, I tried ZQ the other day, does not work

[-] GitProphet@lemmy.sdfeu.org 3 points 11 months ago

my disappointment is immesurable and my day is ruined.

this post was submitted on 25 Oct 2023
2271 points (100.0% liked)

Programmer Humor

32065 readers
862 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS