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
[-] Weirdbeardgame@lemmy.ml 28 points 1 year ago

Don't forget us nanoites. The clearly superior text editor

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

[-] drcobaltjedi@programming.dev 3 points 1 year ago

I don't do a lot of text editing in terminal, but I used to have to at my last job and I always reached for nano and gave instructions fot nano since it's just pick up and use.

[-] heimchen@discuss.tchncs.de 6 points 1 year ago

Nano just feels sluggish as soon as you know vim keybindings. Emacs is a bit overkill for some quck edits, but nano is just to basic

[-] cybersandwich@lemmy.world 6 points 1 year ago

Nano is a fantastic default editor for gui-focused distros. If you aren't a command line wizard, nano is a better default because it's a lot more straightforward.

That said, nano is incredibly limited and if you have any experience with vi/vim/nvim, it's the best solution full stop. It's so much faster and more powerful but hot damn is it unintuitive for noobs.

[-] SubArcticTundra@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

As a nanoite who couldn't be bothered to learn editor commands, I switched to turbo, which is essentially a linux port of the DOS text editor

[-] llii@feddit.de 1 points 1 year ago

Huh, interesting!

[-] AnarchistArtificer@slrpnk.net 2 points 1 year ago

I was using vim for the first time the other day and I was running through the built in vimtutor. I got a call from a friend and they asked what I was up to, and I said I was doing a tutorial for a text editor. At that moment, I felt simultaneously very silly and very smart.

[-] AnonStoleMyPants@sopuli.xyz 4 points 1 year ago

By "as soon as you know" you mean "as soon as you have put those bindings to muscle memory". Knowing them isn't really enough.

[-] russjr08@outpost.zeuslink.net 1 points 1 year ago

Well yeah, I'd say the same concept applies to using anything tech related these days. It'd be like if you "knew" where all of the keys on a keyboard layout that you don't normally use are located - you'd still need muscle memory to actually use it efficiently.

[-] drcobaltjedi@programming.dev 2 points 1 year ago

Yeah, again, I don't do much terminal text editing. I have an IDE. If I'm trying to help someone across the country 1000 miles away fix something on the machine I develop for, I'm going to give them instructions on something that will be incredibly easy to use. I don't want to have to explain why the arrow keys aren't working and why they have to use jkl; to navigate or explain how enter edit mode or how so save and exit. Keep it simple stupid.

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

Programmer Humor

32561 readers
908 users here now

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

Rules:

founded 5 years ago
MODERATORS