Fork me on GitHub
#spacemacs
<
2016-12-05
>
PB17:12:05

So… I have noticed that paredit seems to be installed. But if it weren’t. How would I install it on spacemacs?

PB17:12:19

Paredit is probably the biggest thing for me and I don’t really like smartparens

alandipert17:12:34

@petr i also came from paredit, ended up just learning and using smartparens as they come via SPC k

PB17:12:48

SPC is the leader key?

alandipert17:12:02

well, i'm in evil mode

alandipert17:12:18

but i think, in holy mode, you can call sp-use-paredit-bindings

alandipert17:12:03

maybe worth a shot. don't know personaly if it's a real alternative

PB17:12:05

My issue with sp bindings in spacemacs is that there doesn’t seem to be any

PB17:12:30

So barf forwards/backwards seems to be a M-x sp-barf-blahblah command

eggsyntax17:12:49

They're all under SPC-k

eggsyntax17:12:57

So eg SPC-k-b to barf forward

alandipert17:12:04

yeah the actions have simlar descriptions to paredit functions, slurp/barf etc

eggsyntax17:12:18

(although there are some that aren't bound, of course)

eggsyntax17:12:24

Heh, I came in in the middle, I see I'm just repeating the stuff Alan already said. Never mind, carry on 😉

PB17:12:37

Hmmm, I guess the other annoying thing is when I kill a line, it deletes the parens too

PB17:12:41

How do you live with that?!

eggsyntax18:12:07

You can do kill-sexp. Although I usually just do delete around parens with d a (

eggsyntax18:12:06

& of course you can bind kill-sexp to whatever you like.

alandipert18:12:31

i bind custom things under SPC o, which is reserved for user. would recommend

PB18:12:06

Hmmm ok

PB18:12:35

Damn you evil users

PB18:12:54

Haha I just want paredit back

PB18:12:28

So I see magit is also installed? How do I get that? I don’t see anything in M-x

eggsyntax18:12:57

Believe you need to activate it.

eggsyntax18:12:44

Add git to your dotspacemacs-configuration-layers in .spacemacs

eggsyntax18:12:05

That's off the top of my head, though.

PB18:12:39

Hmmm ok. So SPC is not the same as M-x it seems

alandipert18:12:59

SPC SPC =~ M-x

eggsyntax18:12:47

@alandipert maybe that's custom? For me SPC SPC is avy-word.

alandipert18:12:11

@eggsyntax it changed recently

alandipert18:12:22

maybe it's changed back now, not sure, haven't updated in a few weeks myself

eggsyntax18:12:46

Ah, OK, I've been trying to troubleshoot a SM problem, so I'm fairly behind on updates.

eggsyntax18:12:47

Wow, I'm more behind than I realized 😜

naomarik19:12:03

there a way to specify which file types to search with helm-ag? ie when pressing SPC /

mahinshaw22:12:48

@naomarik: it takes ag options. So "-Gclj my file" where "clj" is a regex. If your not using ag, you will have to check the man page for that tool.