My Spacemacs configs.
Install Spacemacs configuration files.
git clone https://github.com/cy20lin/.spacemacs.d ~/.spacemacs.d
+ .spacemacs.d + layers/ + my-<layer>/ + configs/ + <config>/ + init.el + config.el + doc/ + img/ + <image-file> + snippets/ + README.org + custom.el + init.el
Where:
File | Usage |
---|---|
layers/ | The place to put private layers |
configs/ | The place to put dotspaemacs configs |
snippets/ | The place to put private snippets for yasnippet |
doc/ | The place to put document related files |
init.el | Entry file loaded by spacemacs on startup |
custom.el | Settings generated by emacs |
Initialation and configuration codes are placed in functions
dotspacemacs/user-init
and dotspacemacs/user-config
.
Though, if the configs are complicate, it is advised to group them
into a folder under configs/
directory with initialization codes in
init.el
and configuration codes in config.el
. Then load the codes
in the functions dotspacemacs/user-init
and dotspacemacs/user-config
respectively.
All private layers are prefixed with my-
before its name.