diff --git a/emacs/.emacs.d/config/init-clojure.el b/emacs/.emacs.d/config/init-clojure.el index ce0fad7..fda7d60 100644 --- a/emacs/.emacs.d/config/init-clojure.el +++ b/emacs/.emacs.d/config/init-clojure.el @@ -38,13 +38,17 @@ (cider-known-endpoints '(("local" "localhost" "4005"))) (cider-prompt-for-symbol nil) - (general-def cider-mode-map "C-c t" cider-test-commands-map) :hook ((clojure-mode . cider-mode) (clojurescript-mode . cider-mode) (clojurec-mode . cider-mode)) + :config + (evil-collection-cider-setup) :general (cider-stacktrace-mode-map "SPC" leader-map) - ('normal cider-mode-map "M-." #'cider-find-var) - (cider-repl-mode-map "C-c C-l" #'cider-repl-clear-buffer)) + (normal cider-mode-map "M-." #'cider-find-var) + (cider-mode-map "C-c t" cider-test-commands-map + "C-c M-b" #'cider-debug-defun-at-point) + (cider-repl-mode-map "C-c C-l" #'cider-repl-clear-buffer) + (normal cider--debug-mode-map "," cider--debug-mode-map)) (provide 'init-clojure)