Pass cider-debug keys through normal-state
- Fixes #2356 - Fix found from: https://github.com/wasamasa/dotemacs/blob/master/init.org#keymap-hacking
This commit is contained in:
parent
636fe8fff0
commit
4a0abb18cc
1 changed files with 7 additions and 0 deletions
|
@ -145,6 +145,13 @@ the focus."
|
|||
(message "Cider REPL clojure-mode font-lock: %s"
|
||||
(if cider-repl-use-clojure-font-lock "ON" "OFF")))
|
||||
|
||||
(defun spacemacs/cider-debug-setup ()
|
||||
(when (eq dotspacemacs-editing-style 'vim)
|
||||
(evil-make-overriding-map cider--debug-mode-map 'normal)
|
||||
(evil-normalize-keymaps)))
|
||||
|
||||
(add-hook 'cider--debug-mode-hook 'spacemacs/cider-debug-setup)
|
||||
|
||||
(evilify cider-stacktrace-mode cider-stacktrace-mode-map
|
||||
(kbd "C-j") 'cider-stacktrace-next-cause
|
||||
(kbd "C-k") 'cider-stacktrace-previous-cause
|
||||
|
|
Reference in a new issue