Commit 91b320b
committed
Bind missing eval commands under the C-c C-v prefix
Five eval commands existed in the codebase but had no entry in
cider-eval-commands-map:
- j / C-j cider-eval-last-sexp-to-repl
- p / C-p cider-eval-print-last-sexp
- : cider-read-and-eval
- ; cider-eval-defun-to-comment
- f j e cider-pprint-eval-last-sexp-to-repl (in the pprint submap;
uses 'j' as the 'to REPL' qualifier, mirroring 'c' for
'to comment')
cider-pprint-eval-last-sexp-to-repl previously had no binding at all
and was only reachable via M-x. The other four were bound under the
top-level C-c M-x chords (C-c M-e, C-c M-:, C-c M-;) but absent from
the C-c C-v eval prefix, breaking the prefix's claim to be a
comprehensive eval entry point.1 parent 7e6e19c commit 91b320b
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
| 1001 | + | |
1001 | 1002 | | |
1002 | 1003 | | |
1003 | 1004 | | |
| |||
1006 | 1007 | | |
1007 | 1008 | | |
1008 | 1009 | | |
| 1010 | + | |
| 1011 | + | |
1009 | 1012 | | |
1010 | 1013 | | |
1011 | 1014 | | |
| |||
1027 | 1030 | | |
1028 | 1031 | | |
1029 | 1032 | | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1030 | 1037 | | |
1031 | 1038 | | |
1032 | 1039 | | |
| |||
1046 | 1053 | | |
1047 | 1054 | | |
1048 | 1055 | | |
| 1056 | + | |
| 1057 | + | |
1049 | 1058 | | |
1050 | 1059 | | |
1051 | 1060 | | |
| |||
0 commit comments