Is there a way to run my own code snippet for the current namespace?
I want to take the namespace (could be the namespace name or the source itself) and then send it to my own function that I could define in the .spacemacs. I want to do this because I want to use remove-ns and maybe some other functions.
This worked but it could probable be done in a better way:
(defun mm-cider-remove-ns ()
(interactive)
(cider-interactive-eval "(remove-ns (symbol (str *ns*)))"))
(spacemacs/set-leader-keys "-nr" 'mm-cider-remove-ns)