I usually have several workspaces with different Clojure projects opened. (in fact, with different worktrees) I want each workspace to have its own *test-report* and *cider-repl* when these buffers were opened. I’ve been doing this for a couple of days and it’s working for me:
;; include cider buffer into current workspace
;; include test-report buffer into current workspace
;; include temp buffers created by cider into current workspace
Is there a better way to make this work?
To generalize somewhat, I’m also curious about handling these special buffers. I’d prefer if many of them were associated with workspaces, such as those created with
evil-buffer-new. Right now most of them end up in the worskpaceless void, and I have to dig for them with
consult-buffer rather than
I’m guessing there’s multiple approaches, including hooking or advising the functions that generate them, setting up a regexp that forces matching buffer names workspace-local, or hooking into special modes when available, as done here. This could be a good configuration tutorial, if anyone is familiar.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.