           cider-repl-wrap-history nil
           cider-stacktrace-default-filters '(tooling dup))
 
-    ;; TODO: Add mode-local labels when general support is in.
     (map! (:localleader
             (:map clojure-mode-map
               "'"  #'cider-jack-in
-              "\"" #'cider-jack-in-clojurescript)
-            (:map cider-mode-map
-              ;; eval
-              (:prefix "e"
+              "\"" #'cider-jack-in-clojurescript
+
+              (:prefix ("e" . "eval")
                 "d" #'cider-eval-defun-at-point
                 "D" #'cider-insert-defun-in-repl
                 "e" #'cider-eval-last-sexp

                "r" #'cider-eval-region
                "R" #'cider-insert-region-in-repl
                "u" #'cider-undef)
              ;; go/jump
              (:prefix "g"
                "b" #'cider-pop-back
                "g" #'cider-find-var
                "n" #'cider-find-ns)
              ;; help
              (:prefix "h"
                "n" #'cider-find-ns
                "a" #'cider-apropos
                "d" #'cider-doc
                "g" #'cider-grimoire-web
                "j" #'cider-javadoc)
              ;; inspect
              (:prefix "i"
                "i" #'cider-inspect
                "r" #'cider-inspect-last-result)
              ;; macro
              (:prefix "m"
                "e" #'cider-macroexpand-1
                "E" #'cider-macroexpand-al)
              ;; namespace
              (:prefix "n"
                "n" #'cider-browse-ns
                "N" #'cider-browse-ns-all)
              ;; repl
              (:prefix "r"
                "n" #'cider-repl-set-ns
                "q" #'cider-quit
                "r" #'cider-refresh

  (def-package! clj-refactor
    :hook (clojure-mode . clj-refactor-mode)
    :config
    (map! :map clojure-mode-map
          :localleader
          :desc "refactor" "R" #'hydra-cljr-help-menu/body))

  (def-package! flycheck-joker
    :when (featurep! :feature syntax-checker)
