spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
2020-04-22T16:48:03.397700Z

Does anyone have a strategy for managing different environments? Specifically lets say i have two github repos for my server and client. Each can started in different modes depending on env vars. Spacemacs layouts can save my buffers and the files i'm working on. But i still need to start repls on both and connect as well as set my env vars. I'm guessing what i want is some custom emacs code to load a layout and automatically launch the repl (how ever the project defines that) as well as set the envs.

practicalli-john 2020-04-22T17:15:08.398300Z

@drewverlee Maybe custom layout would help https://github.com/syl20bnr/spacemacs/blob/master/doc/DOCUMENTATION.org#custom-layouts I assume use some kind of profile (dev, prod) in the clojure project and include that in the call to the repl. Then have a dev-layout and prod-layout. This is all theoretical of course

Joe 2020-04-22T18:27:30.401900Z

I've just installed shadow-cljs (on Linux, to /usr/local/bin/shadow-cljs). When I try to cider-jack-in-cljs I get npx shadow-cljs executable not on exec-path. From google I think I need to add the location to my exec path. Is that correct? If so where do I do that?

Joe 2020-04-22T19:07:15.402300Z

Ah, so the issue was I didn't have npx installed 😛

practicalli-john 2020-04-22T22:57:56.404200Z

@allaboutthatmace1789 for future reference, on Spacemacs develop branch SPC f e e opens the spacemacs.env file that contains the path used by Emacs. Use getenv for Spacemacs master .

1👍
FlavaDave 2020-04-22T23:11:10.405700Z

out of nowhere my spacemacs frame stay centered and full width of my screen. if I try to adjust width, or loaction it snaps back. Anyone got any ideas?

aisamu 2020-04-23T15:30:39.420500Z

Check SPC w c c or C

FlavaDave 2020-04-24T14:26:30.425700Z

didn’t seem to do the trick. Thanks though!

1👍