Fork me on GitHub
#spacemacs
<
2017-11-30
>
vuuvi16:11:36

does anyone have a guide for paredit mode in spacemacs?

eggsyntax16:11:02

@alexkeyes unless I'm mixing myself up again, it's the evil-cleverparens layer; documentation at https://github.com/luxbock/evil-cleverparens

vuuvi16:11:22

okay cool I’ll check that out thanks!

eggsyntax16:11:07

Or...maybe smartparens. I'm never going to get this straight 😜

eggsyntax16:11:45

If I do help-describe-mode, smartparens is the one that's listed as being turned on.

chris16:11:13

smartparens and cleverparens are subtly different, unhelpfully

chris16:11:32

cleverparens is a helper for smartparens that's opinionated

chris16:11:55

if you want regular smartparens to have evil integration there is evil-smartparens iirc

chris16:11:07

mostly it just builds in some nice to haves

eggsyntax16:11:43

Thanks @chris. I shouldn't have even tried to answer, since apparently I'm neither clever nor smart enough to keep them straight 😆

vuuvi16:11:13

@eggsyntax with the zingers

vuuvi16:11:45

is it janky just to use lisp mode to control my lisp expressions? that’s been the way I’ve been doing it and I haven’t shaken the feeling there might be something better I just don’t know what it is yet

eggsyntax18:11:14

@alexkeyes you mean like all the SPC k stuff? That's definitely what I do. For me, at least, lisp-mode goes hand-in-hand with smart/clever-par-en/edit.

eggsyntax18:11:09

In fact, notice that most of the SPC k commands are sp-whatever -- I assume sp is for smartparens. ie lisp-mode is just an interface to smartparens.

eggsyntax18:11:19

Or so I speculate.

vuuvi19:11:55

yeah that’s exactly what I’m talking about

vuuvi19:11:05

and yeah I made that connection about an hour ago haha