Skip to main content
2 of 3
edited tags
Drew
  • 79.1k
  • 10
  • 123
  • 257

Key binding to run Clojure code in running cider Repl and specified namespace

I have cider working just fine in emacs with my Clojure code. I am following a tutorial that uses Cursive as the IDE, in the tutorial they were able to bind a key binding to a line of code in a specific namespace.

The command I Want to run in the cider REPL and the namespace user is

(go)

And when I hit C-M-S-g it should fire in the REPL (I have a key that is mapped to hit C-M-S all at once on my keyboard.

This command is for staring my server and I will have others for halting and resetting but it would be nice instead of going to the REPL and typing them in to have a kbd to do so.

Any help or point in the right direction would be greatly appreciated. Thanks.