[clojure] keybindings for browsing clojure specs

Browse a specific clojure spec or browse all specs in a project.
This commit is contained in:
jr0cket 2020-03-10 14:32:30 +00:00 committed by Maximilian Wolff
parent 72b8b4f96b
commit af2d7e320e
No known key found for this signature in database
GPG key ID: 2DD07025BFDBD89A
3 changed files with 8 additions and 0 deletions

View file

@ -1522,6 +1522,9 @@ Other:
- added evaluation keybinding - go to end of line and evaluate sexp
~SPC m e $~ 'spacemacs/cider-eval-sexp-end-of-line
~SPC m e l~ 'spacemacs/cider-eval-sexp-end-of-line
- added browse-spec keybindings
~SPC m h s~ 'cider-browse-spec
~SPC m h S~ 'cider-browse-spec-all
- Fixes:
- Removed =cider.nrepl/cider-middleware= in lein quick start setting
- Fixed =cider-inspector-prev-page= binding, also add ~p~ as another key

View file

@ -475,6 +475,8 @@ Managing CIDER REPL connections and sessions
| ~SPC m h j~ | cider javadoc |
| ~SPC m h n~ | cider browse namespace |
| ~SPC m h N~ | cider browse all namespaces |
| ~SPC m h s~ | cider-browse-spec |
| ~SPC m h S~ | cider-browse-spec-all |
*** Evaluation
Evaluate Clojure code in the source code buffer

View file

@ -99,6 +99,9 @@
"hj" 'cider-javadoc
"hn" 'cider-browse-ns
"hN" 'cider-browse-ns-all
"hs" 'cider-browse-spec
"hS" 'cider-browse-spec-all
;; evaluate in source code buffer
"e;" 'cider-eval-defun-to-comment