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

Programmer Humor

32411 readers
530 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
[–] [email protected] 85 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

[–] [email protected] 67 points 1 year ago (3 children)

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

[–] [email protected] 22 points 1 year ago

Some people just want to see the world burning

[–] [email protected] 14 points 1 year ago

It's the opposite of nerd sniping.

[–] [email protected] 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.

[–] [email protected] 11 points 1 year ago

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

[–] [email protected] 22 points 1 year ago

If you want to save: :wq

Or :x

[–] [email protected] 21 points 1 year ago

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

[–] [email protected] 4 points 1 year ago

I prefer ZZ if I want to quit and save

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)
[–] [email protected] 3 points 1 year ago

and ZZ for save & quit

[–] [email protected] 1 points 1 year ago

:cq because why not :)