1182
emacs moment (lemmy.world)

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

you are viewing a single comment's thread
view the rest of the comments
[-] norawibb@sh.itjust.works 29 points 1 year ago

nanoers just never figured out how to :wq

[-] synae@lemmy.sdf.org 11 points 1 year ago

if you listen closely, you can still hear the terminal bells ringing of those that never managed to ESC

[-] Ddhuud@lemmy.world 1 points 1 year ago

Those who never managed to ESC, reset.

[-] hydroptic@sopuli.xyz 5 points 1 year ago
[-] nekomusumeninaritai@lemmy.blahaj.zone 3 points 1 year ago* (last edited 1 year ago)

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.

[-] yetAnotherUser@feddit.de 2 points 1 year ago

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

[-] lord_ryvan@ttrpg.network 1 points 1 year ago* (last edited 1 year ago)

Then you use :wq

[-] hydroptic@sopuli.xyz 1 points 1 year ago

And how often do you want to do that exactly?

[-] Ferk@kbin.social 1 points 1 year ago

:x? Real Programmers use ZZ.

[-] norawibb@sh.itjust.works 1 points 1 year ago

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

[-] hydroptic@sopuli.xyz 1 points 1 year ago

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 ๐Ÿ˜…

this post was submitted on 15 Aug 2023
1182 points (98.4% liked)

Programmer Humor

32490 readers
586 users here now

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

Rules:

founded 5 years ago
MODERATORS