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
[-] AdmiralShat@programming.dev 12 points 2 years ago
[-] Xylight@lemmy.xylight.dev 54 points 2 years ago

An extremely extensible text editor, there's jokes that it can do literally anything, you can play music, watch video, etc.

It's often at war with the cult of vi and the church of emacs.

[-] Weirdbeardgame@lemmy.ml 28 points 2 years ago

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

[-] norawibb@sh.itjust.works 29 points 2 years ago

nanoers just never figured out how to :wq

[-] synae@lemmy.sdf.org 11 points 2 years 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 2 years ago

Those who never managed to ESC, reset.

[-] hydroptic@sopuli.xyz 5 points 2 years ago
[-] nekomusumeninaritai@lemmy.blahaj.zone 3 points 2 years ago* (last edited 2 years 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 2 years ago

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

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

Then you use :wq

[-] hydroptic@sopuli.xyz 1 points 2 years ago

And how often do you want to do that exactly?

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

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

[-] hydroptic@sopuli.xyz 1 points 2 years 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 ๐Ÿ˜…

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

:x? Real Programmers use ZZ.

[-] drcobaltjedi@programming.dev 3 points 2 years 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 2 years 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

[-] AnonStoleMyPants@sopuli.xyz 4 points 2 years 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 2 years 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 2 years 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.

[-] lukas@lemmy.haigner.me 6 points 2 years ago

alt.religion.emacs

Join us ๐Ÿ‘€

[-] 257m@lemmy.ml 2 points 2 years ago

I've thinking of using Usenet. What client would you recommed for mobile and desktop?

[-] lukas@lemmy.haigner.me 1 points 2 years ago

Built-in Emacs news reader Gnus for desktop, obviously. I don't use Usenet on mobile, so idk.

[-] 257m@lemmy.ml 1 points 2 years ago

Aw man, now I have to download an whole OS just to use Usenet? /s

[-] lukas@lemmy.haigner.me 1 points 2 years ago

I know, I know. But nobody made a news reader for BIOS/UEFI yet, so...

[-] barsoap@lemm.ee 5 points 2 years ago

You should really convert to helixism, the latest messianic update to the cult of vi.

[-] siriusmart@lemmy.world 4 points 2 years ago

ill try it again when it support pulgins

[-] barsoap@lemm.ee 6 points 2 years ago

I mean it does support LSP, natively, I found that ultimately that's all the plugins I really need. It working out of the box and not requiring megabytes of configuration files is one of its great strengths.

If all you need is some customisation it's perfectly possible to write custom commands that execute sequences of commands. Including calling out to the shell and piping to and from external programs. Strictly static sequences though unlike the abomination that is vimscript they're not making keybindings a scripting language...

[-] pimeys@lemmy.nauk.io 3 points 2 years ago* (last edited 2 years ago)

I'm a vim and emacs user for some decades already. I had this urge one day to try and work with helix. It kind of misses some things such as file manager or editorconfig support. Nine months later I'm still using helix. It still misses these things, but I really started to like how I don't need any plugins to work with it and I need about five lines of configuration to have a usable editor. Probably going to continue using it.

And it is written in Rust, which is my main language and I can just jump in to the editor source and fix things if needed.

I miss magit and org from emacs a lot though. Every time I need to write an article, I do it in emacs.

[-] llii@feddit.de 2 points 2 years ago

It's probably this, for all of you whou didn't know Helix before, like me: https://helix-editor.com/

[-] barsoap@lemm.ee 2 points 2 years ago* (last edited 2 years ago)

Indeed. Make sure to start it with hx --tutor the first time around so you know how to quit :)

And no matter what you do when giving it a try do it in a time and place where you can go at least a week without vi as the command grammar is close yet different enough to completely confuse your muscle memory, you don't want to mix them up (helix uses a strict selection-action command set so you get 'wd' instead of 'dw' and stuff).

[-] WhiskyTangoFoxtrot@lemmy.world 12 points 2 years ago

Eight Megs And Constantly Swapping

[-] hydroptic@sopuli.xyz 5 points 2 years ago

Esc-Meta-Alt-Ctrl-Shift

[-] aport@programming.dev 8 points 2 years ago

A self-documenting, extensible lisp computing environment that uses text buffers as its main data format.

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

Programmer Humor

32707 readers
230 users here now

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

Rules:

founded 5 years ago
MODERATORS