diff --git a/emacs/.emacs.d/config/init-clojure.el b/emacs/.emacs.d/config/init-clojure.el index 3626a2a..ead64a8 100644 --- a/emacs/.emacs.d/config/init-clojure.el +++ b/emacs/.emacs.d/config/init-clojure.el @@ -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)