this post was submitted on 22 Sep 2025
907 points (98.8% liked)

Programmer Humor

26650 readers
2000 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Aatube@kbin.melroy.org 18 points 1 week ago (2 children)

To be precise, : means bring up commands, w means save, q means exit, and ! means force

[–] HeurtisticAlgorithm9@feddit.uk 13 points 1 week ago (1 children)

I think it's w = write and q = quit so the letters make more sense

[–] glitches_brew@lemmy.world 10 points 1 week ago (1 children)
[–] darklamer@lemmy.dbzer0.com 13 points 1 week ago (2 children)

No, it isn't, x writes only when changes have been made, while w writes unconditionally.

[–] josefo@leminal.space 0 points 1 week ago (1 children)

Why would you want to write again if no changes were made? It's some obtuse behavior

[–] darklamer@lemmy.dbzer0.com 5 points 1 week ago

One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.

[–] ryper@lemmy.ca 5 points 1 week ago* (last edited 1 week ago)

To be more precise, q means quit the current window. If you've split the window, e.g. with :split or :vsplit, use :qa to quit all windows.