Closed
Description
As a feature request, it would be lovely to have the ability to push the results of the last eval to the kill-ring.
I write quite a lot of tutorial material where I want to do something with the eval results of Clojure code, and currently I have to insert into buffer, then kill. Even better would be an "eval-last-sexp-and-insert-as-comment-before-the-sexp" (sorry, not a good name). So:
(+ 2 2)
Would become...
;; => 4
(+ 2 2)
I guess both of these could be layered onto cider-eval-last-sexp
by extending the prefix argument support.
If you are interested, I can put a PR together.