Replace push with add-to-list in layer init functions and related code. Modify spacemacs|add-toggle to check for and update an existing toggle in spacemacs-toggles and only create a new toggle if none already existed. Replace a conditional push onto erc-packages with use of :toggle. When initializing which-key, set which-key-replacement-alist to its default or customized setting before adding all the Spacemacs replacements. We want to keep the stock replacements but avoid adding duplicates of the Spacemacs replacements. Replace the emacs-lisp-mode-hook lambda with a named function to avoid adding duplicate hooks (which can add duplicate definitions of the evil-surround pair). |
||
---|---|---|
.. | ||
local | ||
config.el | ||
funcs.el | ||
packages.el | ||
README.org |
spacemacs-bootstrap distribution
Description
This layer loads the necessary packages for spacemacs to start-up.
Features:
- Loads
evil
key bindings and macros for auto-evilifcation of maps - Loads
holy
andhybrid
modes - Loads the official Spacemacs theme
- Loads
use-package
which is used to load other packages more easily - Loads
hydra
which is used to create transient modes - Loads
which-key
which is used to show keybindings in other modes - Loads
async
which is used to run background processes - Loads
bind-map
andbind-key
which are used to realise various spacemacs specific keybinding commands