cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
Leah Neukirchen 2020-12-09T10:03:32.292800Z

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

2
practicalli-john 2020-12-09T10:15:22.293Z

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.

bozhidar 2020-12-09T10:35:30.293200Z

@leah 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 Neukirchen 2020-12-09T11:29:16.293500Z

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

1
bozhidar 2020-12-09T11:40:51.293700Z

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.

👍 2