I watched oppenheimer in emacs, u watched it in imax, we are not the same

Use :x you pleb

But what if you wanted to write even if there weren’t changes?

Fonzie!
link
fedilink
1
edit-2
1Y

Then you use :wq

And how often do you want to do that exactly?

They just said :wq in school, so thanks for the tip. Hard to believe it saves even when the file hasn’t been changed if you use :wq. What is the use case for that? If the file gets changed in another program and you want to revert?? Edit: Just saw the comment about the modification times being updated.

Ferk
link
fedilink
11Y

:x? Real Programmers use ZZ.

Nora
link
fedilink
11Y

habit lol. i use :w a lot so :wq feels like a natural extension

Heh yeah and it’s not like it makes any difference; they’re effectively the same thing. :wq just updates modification time even if there were no changes – same as doing :w and :q separately – but :x doesn’t. Super intuitive interface 😅

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.7K Comments
  • Modlog