Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is it possible to store a config? #25

Open
lgrapenthin opened this issue Nov 27, 2021 · 2 comments
Open

Question: Is it possible to store a config? #25

lgrapenthin opened this issue Nov 27, 2021 · 2 comments

Comments

@lgrapenthin
Copy link

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.

@vspinu
Copy link
Owner

vspinu commented Nov 29, 2021

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
Copy link
Owner

vspinu commented Dec 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants