-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
66 lines (63 loc) · 1.4 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
;;; init.el --- Emacs startup file -*- lexical-binding: t; -*-
(load (concat user-emacs-directory "core/core") nil t)
(defconst my/modules
'("secrets"
"ui/color-theme"
"ui/fonts"
"ui/frame"
"editor/autopair"
"editor/autotype"
"evil/plugins"
"emacs/calendar"
"emacs/dired"
"emacs/ediff"
"emacs/eldoc"
"emacs/gpg"
"emacs/helpful"
"emacs/ibuffer"
"emacs/line-numbers"
"emacs/outline"
"emacs/recentf"
"emacs/tramp"
"emacs/whitespace"
"emacs/word-wrap"
"lang/cc"
"lang/elisp"
"lang/julia"
"lang/latex"
"lang/markdown"
"lang/wolfram"
"lang/yaml"
"layouts"
"projects"
"ui/evil-goggles"
"ui/hl-line"
"ui/hl-todo"
"ui/margins"
"ui/pulsar"
"ui/windows"
"app/beeminder"
"app/irc"
"app/ledger"
"app/mail"
"app/organizer"
"app/rss"
"app/system-packages"
"app/terminal"
"tools/bibliography"
"tools/dictionary"
"tools/link-hint"
"tools/llm"
"tools/lsp"
"tools/pass"
"tools/pdf"
"tools/spellcheck"
"tools/tldr"
"tools/vcs"
"bindings")
"A list of modules to be loaded at startup.")
(dolist (module-name my/modules)
;; If a module fails to load, show a warning and continue.
(condition-case the-error
(load (concat user-emacs-directory "modules/" module-name) nil t)
(error (warn (error-message-string the-error)))))