spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
johanmynhardt 2021-01-25T12:37:29.014300Z

😩 Please Halp. I'm a spacemacs newbie and I just started being confident as everything was stable between restarts. However since Saturday evening I had issues with a helm package not being available, and since then my system is haunted. For example: I installed magit this morning and now when I launched a 2nd window, it was removed. Am I just being silly or something? (magit was installed before and working fine between restarts, prior to Saturday)

johanmynhardt 2021-01-25T12:42:06.014600Z

Ooh... think I found something: https://www.reddit.com/r/emacs/comments/cgieh2/why_does_spacemacs_uninstall_magit_and_evilmagit/

practicalli-john 2021-01-25T17:32:33.017100Z

@johanmynhardt it sounds like you have been trying to use packages with Spacemacs. The principle way to install packages is through a layer, adding the layers you wish to use to the dotspacemacs-configuration-layers section of your .spacemacs file. Take a look at this book for help getting started with Spacemacs and Clojure development https://practicalli.github.io/spacemacs/

practicalli-john 2021-01-25T17:35:22.019300Z

https://github.com/practicalli/spacemacs.d/blob/live/init.el is an example of a .spacemacs configuration file with many layers and a little custom configuration in dotspacemacs/user-config Note: .spacemac.d/init.el is used if a .spacemacs file is not present. I prefer this approach as its easier to version my Spacemacs configuration

johanmynhardt 2021-01-25T17:52:28.023Z

Thank you @jr0cket I found my problem. I've installed magit manually because I wasn't aware of the layer flag for git, which already enables magit. Small steps learning 😅 Thank you for the wonderful documentation you are doing 🙏

👍 2
practicalli-john 2021-01-25T18:54:30.025100Z

Once you get used to the layers then Spacemacs becomes really easy for 99% of what most people need. There are a lot of layers to choose from https://develop.spacemacs.org/layers/LAYERS.html SPC h l will also show the list of layers available