editors

Discussion about all editors used for Clojure/ClojureScript
cfleming 2015-06-22T05:49:54.001196Z

@jcsims: I’m actually planning to integrate that into Cursive, and allow it to use the Cursive internal APIs

cfleming 2015-06-22T05:53:05.001198Z

Cursive wraps the IntelliJ APIs with a more Clojure-y interface

cfleming 2015-06-22T05:53:18.001199Z

At least, the ones I use mainly

jcsims 2015-06-22T13:36:11.001200Z

@cfleming: very cool. One of these weekends where I have some more time, I need to sit down and get comfortable with cursive

colin.yates 2015-06-22T15:24:59.001202Z

Has anyone combined spacemac with a clojure starter kit?

jballanc 2015-06-22T15:26:26.001203Z

@colin.yates: not I, but the default clojure layer packaged with spacemacs is fairly decent

colin.yates 2015-06-22T15:26:55.001204Z

ah ok - I did a quick search for Clojure but nothing came up - installing it now.

sveri 2015-06-22T15:33:05.001205Z

@jballanc: where do I get that "default clojure layer"?

jballanc 2015-06-22T15:35:56.001206Z

@sveri: you just have to add it to the layers in your .spacemacs file

jballanc 2015-06-22T15:36:52.001207Z

find the dotspacemacs/layers function, then the dotspacemacs-configuration-layers variable

jballanc 2015-06-22T15:36:59.001208Z

just add clojure to the list, and restart

jballanc 2015-06-22T15:37:58.001209Z

@colin.yates: I haven’t done a 1-for-1 comparison, so I’m not sure if it has everything of the clojure starter kit, but it has at least cider and clojure-refactoring

colin.yates 2015-06-22T15:38:10.001210Z

@jballanc: bril - thanks.

sveri 2015-06-22T15:41:49.001211Z

@jballanc: thanks, that seems to work

jballanc 2015-06-22T15:42:45.001212Z

note that the smartparens stuff is (mostly) under the “Lisp” section (`SPC-k`), everything else is under SPC-m when you’re in a Clojure file

jballanc 2015-06-22T15:43:19.001213Z

also, SPC-k puts you into Spacemacs’ “Lisp” editing mode which is slightly disorienting at first

jballanc 2015-06-22T15:43:28.001214Z

…still not sure if I’m crazy about it

akiva 2015-06-22T15:45:58.001215Z

I’ve been getting used to it and kind of like it.

jballanc 2015-06-22T15:50:53.001216Z

my biggest gripe is that I usually am only doing 1 paren move at a time, and with the Lisp mode I now have extra effort to exit the mode once I’m done...

jballanc 2015-06-22T15:51:03.001217Z

but maybe I’m just using smartparens wrong 😕

akiva 2015-06-22T15:58:19.001218Z

I still keep the smartparens key mapping up in a browser tab.

akiva 2015-06-22T15:59:13.001219Z

Took me a half-minute to realize it treats the code as a tree structure, heh.

chris 2015-06-22T15:59:26.001220Z

I’m not a fan of the lisp-state

chris 2015-06-22T15:59:39.001221Z

much bigger fan of smartparens/paredit

chris 2015-06-22T16:00:16.001222Z

fyi, you can add evil-smartparens to clojure-mode/elisp-mode and then you won’t unbalance parens by using vim editing

chris 2015-06-22T16:01:02.001223Z

(I actually removed lisp state cause I kept ending up in it)

akiva 2015-06-22T16:02:34.001224Z

Hmm. This is looking rather good.

cfleming 2015-06-22T16:42:19.001227Z

@jcsims: Let me know if you have any questions - I’m planning to update the getting started doc very soon.

cfleming 2015-06-22T16:42:27.001228Z

@colin.yates: I’m watching you

colin.yates 2015-06-22T17:30:16.001229Z

@cfleming (I’m ducking :))