Fork me on GitHub
#cider
<
2020-12-09
>
Leah Neukirchen10:12:32

is the keybinding for cider-pprint-eval-last-sexp-to-comment a joke or am i missing something?

6
practicalli-johnny10:12:22

In Spacemacs its just , e p e - leader + evaluate + pretty print + last sexp (expression) Or , e p ; to evaluate pretty print to a comment (which is very nice I think). I found the chorded key bindings the most challenging thing about Emacs, its not just a cider challenge. There are only so many combinations you can have with C-c and C-x or without over-riding other popular key bindings in Emacs.

bozhidar10:12:30

@U01FQSYHRCY We literally ran out of letters/characters in the top-level cider-mode keymap, so we were forced to nest some commands. I know it sucks, but blame the English alphabet. 😄 In general all non-essential eval commands are under C-c C-v something.

Leah Neukirchen11:12:16

i'll map it to C-c ; or so 😄

3
bozhidar11:12:51

Good idea! Unfortunately CIDER can't touch the C-c keybindings as that's bad form for an Emacs package, but everyone else has the power.

👍 6