Add config/private; for ~/.doom.d & ~/.config/doom support #406

A modules/ submodule will be symlinked to ~/.emacs.d/modules/private.
This commit is contained in:
Henrik Lissner 2018-02-14 23:18:10 -05:00
parent 6d7db48dc1
commit b3dcba54eb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 133 additions and 36 deletions

View file

@ -143,5 +143,10 @@
;; Spacemacs-inspired keybinding scheme, a custom yasnippet library, and
;; additional ex commands for evil-mode. Use it as a reference for your
;; own modules.
(default +bindings +snippets +evil-commands))
(default +bindings +snippets +evil-commands)
;; This allows you to store your private module at $XDG_CONFIG_HOME/doom.
;; Without +xdg it uses ~/.doom.d/. If your config directory doesn't
;; exist, this module does nothing.
(private +xdg))