Spacemacs - General Discussion, Blog Posts, Wiki

There isn’t a spacemacs directory just a .spacemacs file..

I did put it in .emacs.d/init.el (also other things I have been trying as well) and nothing I’ve put in there has worked either.

From the docs:

7.5.1 Configuration functions

Three special functions in the ~/.spacemacs file can be used to perform configuration at the beginning and end of Spacemacs loading process:

  • dotspacemacs/layers is called at the very startup of Spacemacs initilialization, this is where you set the Spacemacs distribution and declare layers to be used in your configuration. You can also add or excluded packages of your choice and tweak some behavior of Spacemacs loading.
  • dotspacemacs/init is called at the very startup of Spacemacs initialization before layers configuration. You should not put any user code in there besides modifying the Spacemacs variable values prefixed with dotspacemacs-.
  • dotspacemacs/user-init is called immediately after dotspacemacs/init, before layer configuration. This function is mostly useful for variables that need to be set before packages are loaded.
  • dotspacemacs/user-config is called at the very end of Spacemacs initialization after layers configuration. This is the place where most of your configurations should be done. Unless it is explicitly specified that a variable should be set before a package is loaded, you should place your code here.