Add keybinding for cider-pprint-eval-last-sexp

This commit is contained in:
Tim Jäger 2017-06-20 14:53:01 -07:00 committed by Eivind Fonn
parent 07eb1050be
commit 2985a26901
2 changed files with 13 additions and 11 deletions

View File

@ -137,17 +137,18 @@ As this state works the same for all files, the documentation is in global
*** Evaluation
| Key Binding | Description |
|-------------+-------------------------------------------------|
| ~SPC m e ;~ | eval sexp and show result as comment |
| ~SPC m e b~ | eval buffer |
| ~SPC m e e~ | eval last sexp |
| ~SPC m e f~ | eval function at point |
| ~SPC m e r~ | eval region |
| ~SPC m e m~ | cider macroexpand 1 |
| ~SPC m e M~ | cider macroexpand all |
| ~SPC m e p~ | print last sexp (clojure interaction mode only) |
| ~SPC m e w~ | eval last sexp and replace with result |
| Key Binding | Description |
|-------------+-----------------------------------------------------------|
| ~SPC m e ;~ | eval sexp and show result as comment |
| ~SPC m e b~ | eval buffer |
| ~SPC m e e~ | eval last sexp |
| ~SPC m e f~ | eval function at point |
| ~SPC m e r~ | eval region |
| ~SPC m e m~ | cider macroexpand 1 |
| ~SPC m e M~ | cider macroexpand all |
| ~SPC m e p~ | print last sexp (clojure interaction mode only) |
| ~SPC m e P~ | eval last sexp and pretty print result in separate buffer |
| ~SPC m e w~ | eval last sexp and replace with result |
*** Goto

View File

@ -72,6 +72,7 @@
"em" 'cider-macroexpand-1
"eM" 'cider-macroexpand-all
"er" 'cider-eval-region
"eP" 'cider-pprint-eval-last-sexp
"ew" 'cider-eval-last-sexp-and-replace
"=" 'cider-format-buffer