Configure cider eval'ing to a comment

This commit is contained in:
Jeremy Dormitzer 2021-04-05 10:45:35 -04:00
parent 1c71105efe
commit 05f144b85e

View File

@ -38,6 +38,7 @@
(cider-known-endpoints
'(("local" "localhost" "4005")))
(cider-prompt-for-symbol nil)
(cider-comment-prefix ";; => ")
:hook ((clojure-mode . cider-mode)
(clojurescript-mode . cider-mode)
(clojurec-mode . cider-mode))
@ -49,6 +50,7 @@
(cider-stacktrace-mode-map "SPC" leader-map)
(normal cider-mode-map "M-." #'cider-find-var)
(cider-mode-map "C-c M-b" #'cider-debug-defun-at-point)
(cider-mode-map "C-c M-;" #'cider-pprint-eval-defun-to-comment)
(cider-repl-mode-map "C-c C-l" #'cider-repl-clear-buffer))
(provide 'init-clojure)