Skip to content

Commit 4278d7c

Browse files
committed
[Docs] Add a couple of notes to the eval keybindings
1 parent 692bb44 commit 4278d7c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/modules/ROOT/pages/usage/code_evaluation.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,13 @@ like `cider-eval-defun-at-point` having 3 keybindings:
218218

219219
Okay, those are technically 4 keybindings, but who's counting!
220220

221+
NOTE: Some of you are probably wonder why kbd:[C-c C-v] instead of
222+
kbd:[C-c C-e], right? Again - legacy. Historically kbd:[C-c C-e]
223+
was mapped to `cider-eval-last-sexp`, otherwise we would have picked
224+
this binding. It's still possible to recycle it down the road, as
225+
most people are probably using kbd:[C-x C-e] for `cider-eval-last-result`
226+
and good keybindings are too precious to be wasted like this.
227+
221228
Below is a listing of most keybindings for evaluation commands:
222229

223230
|===
@@ -300,3 +307,5 @@ kbd:[C-u C-c C-c]
300307
| kbd:[C-c C-M-l]
301308
| Load (eval) all Clojure files below a directory.
302309
|===
310+
311+
TIP: You'll find all evaluation commands and their keybindings in the `CIDER Eval` menu.

0 commit comments

Comments
 (0)