Fork me on GitHub
#spacemacs
<
2015-10-13
>
reefersleep10:10:05

I came here to ask a question about how to map 'jk' to escape. I've tried using the key-chord package, with a number of different envocations in .emacs.d/init.el, but nothing has worked for me. However, I see that @alandipert has somewhat answered my question in advance by mentioning 'fd', which seems to work the same way. Does anyone feel that they could definitively guide me to get 'jk' to work, though? simple_smile I'm using Emacs 24.5.1 on a Windows box with Spacemacs. Also, I'm an Emacs newbie. Also, hi! simple_smile

reefersleep12:10:09

Thank you very much, malch! 😄

reefersleep12:10:09

I suppose I should consider switching to 'fd' according to your second link, right?

malch13:10:55

Probably yes 😄

malch13:10:56

I made a switch (also in my vim config)

jeremyraines13:10:03

I am getting a mismatch between CIDER and cider-nrepl . . . I changed my cider-nrepl to 0.9.1 in my .lein/profile.clj . . . where do I change CIDER’s version?

jeremyraines13:10:31

i guess I could change to 0.10.0-snapshot, but I’d rather use the latest stable

jeremyraines13:10:49

is the standard advise to use the develop branch for Spacemacs?

malch14:10:17

@jeremyraines: Not sure, where to pin CIDER version. In my experience, both spacemacs and CIDER have pretty stable dev branches

malch15:10:58

@jeremyraines: One more addition - I'm using Spacemacs + CIDER + clj/cljs repls. You can ask me if something is not working

malch15:10:26

Since I saw your questions on other channels 😉

jeremyraines15:10:25

what are you using for your cljs repl?

malch15:10:02

I'm using figwheel (which is great by the way) - it starts nrepl server

malch15:10:32

And I have to connections to it - for clj and cljs

jeremyraines15:10:07

oh, OK. my project uses figwheel

malch15:10:16

sorry, two connections

jeremyraines15:10:37

and I was starting the repl with lein repl :headless 3111 — is that wrong?

malch15:10:44

then you are almost good to go 😃

jeremyraines15:10:59

that’s the repl I was trying to connect to from cider/emacs

malch15:10:10

You just don't need another repl

malch15:10:29

repl server

malch15:10:56

start with something simple

malch15:10:48

exclude CIDER from equation for starters, you can add it later

jeremyraines15:10:49

i’m missing something. That’s the only repl I’m using and I get that refer-macros error when I try to connect to it

jeremyraines15:10:22

oh, ok. Then my next question is how to connect to it from emacs / spacemacs. I was using cider-connect

malch15:10:56

Do you have figwheel started?

jeremyraines15:10:38

sorry, I’m a bit all over the place. Previously I’d used it via Cursive. How do you start a figwheel specific repl? I thought doing lein repl in a figwheel project would do it

malch15:10:13

lein figwheel

jeremyraines15:10:58

'figwheel' is not a task. See 'lein help’.

malch15:10:11

let's move to private messages, ok?

reefersleep16:10:14

@malch: I guess I'll make the switch, too simple_smile