Fork me on GitHub
#clojure-nl
<
2020-01-07
>
Mno08:01:05

Today I'm going to try to use emacs

gklijs08:01:02

Good luck, I could get used to it, but maybe I didn't try hard enough.

borkdude08:01:36

Morning. Good luck @hobosarefriends. There are a lot of nice starter kits: https://github.com/emacs-tw/awesome-emacs#starter-kit. I'm using bbatsov's Prelude.

Mno09:01:57

Ohhh Thanks! I was looking for a starting point

borkdude09:01:29

There's also a book "Mastering Emacs". I have it but I never got very far into reading it 🙂

Mno09:01:31

An entire book 😅

eval202010:01:21

upvote for prelude! Just uncomment the clojure-module and you're good to go

👍 4
🎉 4
bbss11:01:55

I started my emacs journey with mastering emacs + spacemacs in 2016, now use prelude as spacemacs would crash often for me at the time.

bbss11:01:57

I'm using the http://emacs.app for osx, but I remember @vijaykiran talking about using alacritty with emacs. Gonna try that today actually, as I'm now using a vertical 4k monitor and my emacs has quite a delay on the input if I open several buffers.

bbss11:01:06

also, this isn't emacs only, but I pity those who haven't learned the paredit commands (although parinfer is also quite nice)

Mno12:01:29

Oh no that would be me

Mno12:01:38

I've only learned parinfer so far

Kevin12:01:59

Started with Emacs quite a while ago (initial commit June of 2012). Wrote a few plugins which taught me a lot. Eventually I have 750~ commits to my emacs configuration haha

Kevin12:01:22

Then I switched to Spacemacs because configuring Emacs was eating a lot of my time (obviously)

borkdude12:01:42

same reason I use prelude

Mno12:01:49

Lots of emacs users I see.

borkdude12:01:51

I let bbatsov do the tweaking

Kevin12:01:24

Only issue right now is that Spacemacs freezes occasionally, and there’s no way of getting a stacktrace

Kevin12:01:30

So that’s a big let down

Kevin12:01:49

Also I use Lispy https://github.com/abo-abo/lispy for Lisp editting (instead of paredit, parinfer, …) Makes editing lisp so pleasant. Has the steepest learning curve but is the most rewarding (IMHO)

bbss12:01:06

I should also venture into emacs + elisp, but haven't had a good reason yet.

bbss12:01:21

So lispy is paredit with different hotkeys?

Kevin12:01:18

Lispy basically has a multi-mode. When you’re on a paren, all your insert keys change into commands. When you’re not an a paren, you simply insert text

Kevin12:01:09

There are some videos on how it works https://www.youtube.com/watch?v=AlVVN9vfL8k

bbss12:01:57

That seems like a very reasonable trade-off, but am not dissatisfied with my hotkey setup. Will watch the video.

bbss12:01:49

Hmm, I can see it's more than just paredit with different hotkeys, interestingly it does stuff I'd expect it needs to have an ast for (e.g. I would use clj-refactor for)

bbss12:01:22

Ugh, too bad, running emacs in windowed mode in alacritty has even worse input lag 😞 I guess my gpuless macbook just isn't powerful enough.

bbss13:01:32

@kevin.van.rooijen thanks for sharing the lispy stuff. I think I might just go into the rabbit hole on this one 🙂

😄 4