-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
121 lines (102 loc) · 3.6 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
;;; init.el --- Justin Silverman Config -*- lexical-binding: t; -*-
(defun load-config (fn)
(load (expand-file-name fn user-emacs-directory)))
;; setup native compilation
(if (and (fboundp 'native-comp-available-p)
(native-comp-available-p))
(progn
(message "Native compilation is available")
(setq native-comp-deferred-compilation t))
(message "Native complation is *not* available"))
(if (not (boundp 'jds~skip-wm))
(setq jds~skip-wm nil))
(if (not (boundp 'jds~skip-email))
(setq jds~skip-email nil))
;;; Modules
(load-config "core.el")
(unless jds~skip-wm
(load-config "wm.el"))
(load-config "defaults.el")
(load-config "secrets.el")
(load-config "macros.el")
(load-config "evil.el")
(load-config "org.el") ;; put before anything that might call org (e.g., themes or completing-read)
(load-config "themes.el")
(load-config "popups.el")
(load-config "completing-read.el")
(load-config "projects.el")
(load-config "git.el")
(load-config "term.el")
(load-config "system-jump.el")
(load-config "avy.el")
(load-config "window.el")
(load-config "hydra.el")
(load-config "dired.el")
(load-config "spelling.el")
(load-config "latex.el")
(load-config "autoloads/sow.el")
(load-config "pdf.el")
(unless jds~skip-email
(load-config "autoloads/email.el")
(load-config "email.el"))
(load-config "calendar.el")
(load-config "ibuffer.el")
(load-config "editor.el")
;; after everything else
(load-config "bindings.el")
;; (load-config "debugging.el")
(load-config "references.el")
(load-config "autoloads/references.el")
(load-config "ssh.el")
(load-config "org-roam.el")
(load-config "lsp.el")
(load-config "treesitter.el")
(load-config "autoloads/avy-tex-math.el")
(load-config "engines.el")
;; for some reason has to be at the end to ensure
;; that company-active-map is defined
;; (load-config "company.el")
(load-config "capf.el")
;;; languages
(load-config "python.el")
(load-config "ess.el")
(load-config "autoloads/ess-autoloads.el")
(load-config "stan.el")
;; (load-config "ledger.el")
(load-config "snippets.el")
;;; "optional" applications
(load-config "slack.el")
;; (load-config "spotify.el")
(load-config "bitwarden.el")
;; Start Server if not already running
(require 'server)
(if (and (fboundp 'server-running-p)
(not (server-running-p)))
(server-start))
;;; miscellaneous
;;; profiling and debugging
;(use-package esup
; :ensure t
; :pin melpa
; :config
; (setq esup-depth 0))
(put 'narrow-to-page 'disabled nil)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("5fdc0f5fea841aff2ef6a75e3af0ce4b84389f42e57a93edc3320ac15337dc10" "e87f48ec4aebdca07bb865b90088eb28ae4b286ee8473aadb39213d361d0c45f" "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "c74e83f8aa4c78a121b52146eadb792c9facc5b1f02c917e3dbb454fca931223" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default))
'(safe-local-variable-values
'((eval setq-local ess-startup-directory default-directory)))
'(warning-suppress-log-types '((comp))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(aw-leading-char-face ((t (:inherit ace-jump-face-foreground :height 2.5 :foreground "red")))))
(put 'narrow-to-region 'disabled nil)
(put 'scroll-left 'disabled nil)
(put 'list-timers 'disabled nil)