Hi @volrath
we spoke earlier on Slack about adding the ability to move back from the REPL to the previous buffer, as that functionality doesn't exist currently for spiral.
spiral-switch-to-repl-buffer currently only goes one way, from the project buffer to the REPL.
Before implementing this feature, there are two options:
-
cider's cider-switch-to-last-clojure-buffer, as the name suggests jumps back to the previous project buffer.
-
But there is also a possibility of jumping to the namespace which is currently loaded in the REPL.
The option 1. would essentially emulate cider's behaviour, whereas 2. am I just overthinking it?
I have the code for both, extracted as separate functions. I wanted to see what would be better to go with before I submit a PR. Thanks