feat(emacs): bind C-o in cider inspector
This commit is contained in:
@@ -44,13 +44,11 @@
|
|||||||
;; functionality.
|
;; functionality.
|
||||||
(cider-download-java-sources t))
|
(cider-download-java-sources t))
|
||||||
:general
|
:general
|
||||||
;; DEPRECATED: Remove once a `map!' equivalent is implemented.
|
|
||||||
(:keymaps 'cider-repl-mode-map
|
(:keymaps 'cider-repl-mode-map
|
||||||
:states '(normal insert)
|
:states '(normal insert)
|
||||||
"C-k" #'cider-repl-backward-input
|
"C-k" #'cider-repl-backward-input
|
||||||
"C-j" #'cider-repl-forward-input
|
"C-j" #'cider-repl-forward-input
|
||||||
"C-s" #'consult-history)
|
"C-s" #'consult-history)
|
||||||
;; DEPRECATED: Remove once a `map!' equivalent is implemented.
|
|
||||||
(:keymaps '(cider-repl-mode-map clojure-mode-map)
|
(:keymaps '(cider-repl-mode-map clojure-mode-map)
|
||||||
:states '(normal visual motion emacs insert)
|
:states '(normal visual motion emacs insert)
|
||||||
:major-modes t
|
:major-modes t
|
||||||
@@ -78,6 +76,9 @@
|
|||||||
(:keymaps 'cider-repl-mode-map
|
(:keymaps 'cider-repl-mode-map
|
||||||
:states 'insert
|
:states 'insert
|
||||||
"S-<return>" #'cider-repl-newline-and-indent)
|
"S-<return>" #'cider-repl-newline-and-indent)
|
||||||
|
(:keymaps 'cider-inspector-mode-map
|
||||||
|
:states '(motion insert)
|
||||||
|
"C-o" #'cider-inspector-pop)
|
||||||
:config
|
:config
|
||||||
(add-hook 'cider-mode-hook #'eldoc-mode)
|
(add-hook 'cider-mode-hook #'eldoc-mode)
|
||||||
(with-eval-after-load 'consult
|
(with-eval-after-load 'consult
|
||||||
|
|||||||
Reference in New Issue
Block a user