diff options
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-clojure.el')
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-clojure.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-clojure.el b/emacs/.emacs.d/wpc/wpc-clojure.el index d9262cdda8eb..18d0952384f5 100644 --- a/emacs/.emacs.d/wpc/wpc-clojure.el +++ b/emacs/.emacs.d/wpc/wpc-clojure.el @@ -74,6 +74,14 @@ "<down>" #'cider-repl-next-input ;; "C-c 'j" #'wpc/find-or-create-clojure-or-clojurescript-repl ) + (general-define-key + :keymaps 'clojure-mode-map + :states '(normal) + :prefix "<SPC>" + "x" #'cider-eval-defun-at-point + "X" #'cider-eval-buffer + "d" #'cider-symbol-at-point) + (setq cider-prompt-for-symbol nil) ;; (setq cider-cljs-lein-repl ;; "(do (require 'figwheel-sidecar.repl-api) ;; (figwheel-sidecar.repl-api/start-figwheel!) |