Evilify CIDER Inspector

- Use =L= instead of =l= for ~cider-inspector-pop~.
- Add `cider-inspect` key-binding mention in README
- Add key-binding for `cider-debug-defun-at-point`
This commit is contained in:
Giorgio Leveroni 2015-06-20 22:42:44 -04:00 committed by syl20bnr
parent c44e496e1f
commit 26f809fa3f
2 changed files with 14 additions and 1 deletions

View File

@ -17,6 +17,7 @@
- [[#goto][Goto]]
- [[#repl][REPL]]
- [[#tests][Tests]]
- [[#debugging][Debugging]]
- [[#refactoring][Refactoring]]
- [[#reformatting][Reformatting]]
@ -135,6 +136,13 @@ More info regarding installation of nREPL middleware can be found here:
| ~SPC m t r~ | re-run test failures for namespace |
| ~SPC m t t~ | run test at point |
** Debugging
| Key Binding | Description |
|-------------+--------------------------------|
| ~SPC m d b~ | instrument expression at point |
| ~SPC m d i~ | inspect expression at point |
** Refactoring
| Key Binding | Description |

View File

@ -135,6 +135,8 @@ the focus."
(setq cider-prompt-for-symbol nil)
(evilify cider-docview-mode cider-docview-mode-map
(kbd "q") 'cider-popup-buffer-quit)
(evilify cider-inspector-mode cider-inspector-mode-map
(kbd "L") 'cider-inspector-pop)
(evil-leader/set-key-for-mode 'clojure-mode
"mhh" 'cider-doc
@ -169,7 +171,10 @@ the focus."
"mta" 'spacemacs/cider-test-run-all-tests
"mtr" 'spacemacs/cider-test-rerun-tests
"mtt" 'spacemacs/cider-test-run-focused-test)
"mtt" 'spacemacs/cider-test-run-focused-test
"mdi" 'cider-inspect
"mdb" 'cider-debug-defun-at-point)
(when clojure-enable-fancify-symbols
(clojure/fancify-symbols 'cider-repl-mode)))