sesman icon indicating copy to clipboard operation
sesman copied to clipboard

Question: Is it possible to store a config?

Open lgrapenthin opened this issue 4 years ago • 2 comments

I have a bunch of cider projects that usually require starting from a shell and connect via cider-connect. Usually I have two REPLs per project, and I need to manually configure (sesman-browse) which subdirs of a project link with which REPL. I'd love to be able to somehow persist this config to not do it everytime I start a project.

lgrapenthin avatar Nov 27 '21 09:11 lgrapenthin

This might be tricky because one has to have the REPLs running, so a bit hard to think of a generic approach to this.

I think your best hope is to add a hook to the CIDER's REPL startup and link it to whatever directories you want.

vspinu avatar Nov 29 '21 21:11 vspinu

In principle, if there are stable patterns in the session names (like ending with :1 or :2) then one could make a config on the sesman side to put in .emacs-dir or something and always associate :<N> session with a specific set of dirs.

vspinu avatar Dec 08 '21 19:12 vspinu