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 🙂