this post was submitted on 22 Sep 2025
909 points (98.8% liked)
Programmer Humor
26673 readers
1872 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
5 key presses to save and exit. Frickin vim.
I’m pretty sure that’s close without saving changes. :wq would be needed to save.
To be precise, : means bring up commands, w means save, q means exit, and ! means force
I think it's w = write and q = quit so the letters make more sense
Also :x is the same as :wq
No, it isn't, x writes only when changes have been made, while w writes unconditionally.
TIL. Ty!
Why would you want to write again if no changes were made? It's some obtuse behavior
One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.