this post was submitted on 25 Oct 2023
2270 points (99.2% liked)

Programmer Humor

32560 readers
265 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

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
[–] psud@aussie.zone 84 points 1 year ago (5 children)

If anyone needs the command: :q!

If you want the computer to ask if you're sure: :q

If you want to save: :wq

[–] intensely_human@lemm.ee 67 points 1 year ago (3 children)

You’re nullifying that safety measure by doing this you know

[–] Oszilloraptor@feddit.de 22 points 1 year ago

Some people just want to see the world burning

[–] PM_ME_FAT_ENBIES@lib.lgbt 14 points 1 year ago (1 children)

Nah, the safety measure is designed to make sure they can quit vim. Now they can quit vim.

[–] intensely_human@lemm.ee 11 points 1 year ago

I can quit vim any time I want. I just don’t want to.

[–] ArmokGoB@lemmy.dbzer0.com 14 points 1 year ago

It's the opposite of nerd sniping.

[–] Zacryon@feddit.de 22 points 1 year ago

If you want to save: :wq

Or :x

[–] PoolloverNathan@programming.dev 21 points 1 year ago

:wq will write even if you didn't change anything; :x won't. (similar to :w vs :up)

[–] hansl@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (2 children)
[–] Astaroth@lemm.ee 3 points 1 year ago

and ZZ for save & quit

[–] fl42v@lemmy.ml 1 points 1 year ago

:cq because why not :)

[–] boatswain@infosec.pub 4 points 1 year ago

I prefer ZZ if I want to quit and save