about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-05 20:21:55 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-05 20:21:55 +0100
commit0b8f3a224053fed4fa4b379657d9ea070fa9b61e (patch)
tree4490d3096581942b6a6aa0f247fc1b6bd9a12471
parent50d75c598ccd4e4394162c3732e3f108911ede60 (diff)
downloaddotfiles-0b8f3a224053fed4fa4b379657d9ea070fa9b61e.tar.gz
Update cider bindings
-rw-r--r--.emacs.d/lisp/init-clojure.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-clojure.el b/.emacs.d/lisp/init-clojure.el
index cf1810f..316310a 100644
--- a/.emacs.d/lisp/init-clojure.el
+++ b/.emacs.d/lisp/init-clojure.el
@@ -118,7 +118,10 @@
   :bind
   (:map cider-mode-map ("C-c M-l" . cider-load-file))
   (:map clojure-mode-map
+        ("C-c C-r C-m" . run-main)
+        ("C-c M-j" . cider-jack-in-and-run-main)
         ("C-x p q" . project-clojure-test-switch)
+        ("C-c C-M-c" . (lambda () (interactive) (cider-clear-compilation-highlights t)))
         ("C->" . cider-find-dwim-other-window))
   :hook
   (cider-repl-mode . cider-repl-mode-hook-fn)