Where do you set a variable in Spacemacs?

Where do you set a variable in Spacemacs?

Any variable that layer configuration code will read and act on must be set in user-init, and any variable that Spacemacs explicitly sets but you wish to override must be set in user-config . Anything that isn’t just setting a variable should 99% be in user-config .

Which is the variable in dotspacemacs-additional-packages?

Spacemacs provides a variable in the dotspacemacs/layers function in .spacemacs called dotspacemacs-additional-packages. Just add a package name to the list and it will be installed when you reload your configuration with SPC f e R, or at the next Spacemacs launch.

How to fork the code used in Spacemacs?

To fork Spacemacs code you have to use a custom branch that you manage manually. To update the Emacs packages used by Spacemacs press RET (enter) or click on the link [Update Packages] in the startup page under the banner then restart Emacs. If you prefer, you can use the command configuration-layer/update-packages instead of the button.

How to choose between two distributions in Spacemacs?

The distribution concept was introduced in 0.104.x. You can now choose between two distributions spacemacs or spacemacs-base. spacemacs-base contains only a minimal set of packages; whereas spacemacs is the full Spacemacs experience. Set the distribution with dotspacemacs-distribution variable. The default is spacemacs.

Why is the symbol closed or unbound in Emacs?

If Emacs reports an error that the symbol closed or – is unbound as a variable, it is probably because you are using HTTPS to download packages, but you shouldn’t be. Try deleting your packages (the .emacs.d/elpa folder), and restart Emacs without HTTPS to download the packages again.

Do you have to keep all packages in Spacemacs?

By default Spacemacs will keep only the packages that you use (i.e. the packages belonging to a layer explicitly listed in the variable dotspacemacs-configuration-layers ). To install packages that does not belong to any Spacemacs layers, you can: