i am using
cider. I want to do the following: when I finish editing in a source buffer, I want to compile the source and execute it in the repl, all with a single key-binding.
cider-mode, compiling source can be done by
C-c C-k or
M-x some-function, so the workflow is basically like this:
C-c C-z (switch to repl buffer), and type and execute
my-function. How do I bind all the actions together and popup the repl buffer with results?