2018-04-03 19:48:20 -04:00
|
|
|
;;; init.el -*- lexical-binding: t; -*-
|
|
|
|
;;
|
2021-11-14 17:34:17 +01:00
|
|
|
;; Author: Henrik Lissner <contact@henrik.io>
|
2018-04-03 19:48:20 -04:00
|
|
|
;; URL: https://github.com/hlissner/doom-emacs
|
|
|
|
;;
|
|
|
|
;; ================= =============== =============== ======== ========
|
|
|
|
;; \\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . //
|
|
|
|
;; ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .||
|
|
|
|
;; || . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . ||
|
|
|
|
;; ||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .||
|
|
|
|
;; || . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\ . . . . ||
|
|
|
|
;; ||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\_ . .|. .||
|
|
|
|
;; || . _|| || || || || ||_ . || || . _|| || || || |\ `-_/| . ||
|
|
|
|
;; ||_-' || .|/ || || \|. || `-_|| ||_-' || .|/ || || | \ / |-_.||
|
|
|
|
;; || ||_-' || || `-_|| || || ||_-' || || | \ / | `||
|
|
|
|
;; || `' || || `' || || `' || || | \ / | ||
|
|
|
|
;; || .===' `===. .==='.`===. .===' /==. | \/ | ||
|
|
|
|
;; || .==' \_|-_ `===. .===' _|_ `===. .===' _-|/ `== \/ | ||
|
|
|
|
;; || .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \/ | ||
|
|
|
|
;; || .==' _-' '-__\._-' '-_./__-' `' |. /| | ||
|
|
|
|
;; ||.==' _-' `' | /==.||
|
|
|
|
;; ==' _-' \/ `==
|
|
|
|
;; \ _-' `-_ /
|
|
|
|
;; `'' ``'
|
|
|
|
;;
|
|
|
|
;; These demons are not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: MIT
|
|
|
|
|
2021-01-03 22:56:36 -05:00
|
|
|
;; In the strange case that early-init.el wasn't loaded (e.g. you're using
|
|
|
|
;; Chemacs 1? Or you're loading this file directly?), we do it explicitly:
|
|
|
|
(unless (boundp 'doom-version)
|
|
|
|
(load (concat (file-name-directory load-file-name) "early-init")
|
|
|
|
nil t))
|
2019-08-23 20:33:30 -04:00
|
|
|
|
2021-05-06 15:54:10 -04:00
|
|
|
;; Ensure Doom's core libraries are properly initialized, autoloads file is
|
|
|
|
;; loaded, and hooks set up for an interactive session.
|
2019-11-04 17:20:20 -05:00
|
|
|
(doom-initialize)
|
2021-05-06 15:54:10 -04:00
|
|
|
|
|
|
|
;; Now we load all enabled modules in the order dictated by your `doom!' block
|
|
|
|
;; in $DOOMDIR/init.el. `doom-initialize-modules' loads them (and hooks) in the
|
|
|
|
;; given order:
|
|
|
|
;;
|
|
|
|
;; $DOOMDIR/init.el
|
|
|
|
;; {$DOOMDIR,~/.emacs.d}/modules/*/*/init.el
|
|
|
|
;; `doom-before-init-modules-hook'
|
|
|
|
;; {$DOOMDIR,~/.emacs.d}/modules/*/*/config.el
|
|
|
|
;; `doom-init-modules-hook'
|
|
|
|
;; $DOOMDIR/config.el
|
|
|
|
;; `doom-after-init-modules-hook'
|
|
|
|
;; `after-init-hook'
|
|
|
|
;; `emacs-startup-hook'
|
|
|
|
;; `doom-init-ui-hook'
|
|
|
|
;; `window-setup-hook'
|
|
|
|
;;
|
|
|
|
;; And then we're good to go!
|
|
|
|
(doom-initialize-modules)
|