This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-19
Channels
- # announcements (4)
- # asami (1)
- # babashka (48)
- # beginners (84)
- # bristol-clojurians (1)
- # calva (15)
- # chlorine-clover (11)
- # cider (37)
- # clj-kondo (17)
- # clojure (72)
- # clojure-europe (13)
- # clojure-italy (43)
- # clojure-nl (6)
- # clojure-spec (8)
- # clojure-uk (19)
- # clojuredesign-podcast (7)
- # clojurescript (132)
- # code-reviews (7)
- # conjure (3)
- # cursive (24)
- # datascript (10)
- # datomic (61)
- # docker (4)
- # duct (24)
- # emacs (2)
- # figwheel-main (8)
- # fulcro (43)
- # graalvm (5)
- # juxt (1)
- # keechma (14)
- # malli (2)
- # off-topic (120)
- # re-frame (111)
- # reagent (6)
- # reitit (13)
- # shadow-cljs (118)
- # spacemacs (3)
- # tools-deps (32)
- # uncomplicate (5)
- # xtdb (6)
Does anyone use doom emacs without evil mode and takes advantage of clj-refactor
's cljr-add-require-to-ns
functionality?
If so did you have to change the keybindings at all?
In the https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/clojure/config.el#L186 I see that they add the clj-refactor
hydra under [leader] R
. That works for me, and then I select "add require to namespace" by typing a
and then r
and it inserts the form template correctly. But then the clj-refactor
hydra doesn't close unless I manually type q
, and if I don't do that it starts to interpret me typing the ns I want to require as more refactor commands, which is surprising to me.
I used to use this as a prefix: https://github.com/ericdallo/dotfiles/blob/master/.doom.d/config.el#L126
But I don't use clj-refactor anymore, clojure-lsp
already has these functionalities and a lot more, take a look at #lsp 🙂