-
Notifications
You must be signed in to change notification settings - Fork 3
/
init.el
62 lines (49 loc) · 1.59 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
;;; init.el --- load the configuration -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:
;; configure load paths
(let ((lisp-directory (expand-file-name "lisp" user-emacs-directory)))
;; add ~/.emacs.d/lisp to load path
(add-to-list 'load-path lisp-directory)
;; save customizations as local (unversioned) settings
(setq custom-file (expand-file-name "init-local.el" lisp-directory)))
;; package management
(require 'init-package)
;; local settings (optional)
(require 'init-local nil t)
;; appearance
(mpolden/maybe-require 'init-appearance)
(mpolden/maybe-require 'init-theme)
;; behaviour
(mpolden/maybe-require 'init-sane-defaults)
(when (eq system-type 'darwin)
(mpolden/maybe-require 'init-mac))
;; editing
(mpolden/maybe-require 'init-editing)
(mpolden/maybe-require 'init-server)
(mpolden/maybe-require 'init-tramp)
;; writing
(mpolden/maybe-require 'init-flyspell)
;; navigation
(mpolden/maybe-require 'init-dired)
(mpolden/maybe-require 'init-grep)
(mpolden/maybe-require 'init-ibuffer)
(mpolden/maybe-require 'init-project)
(mpolden/maybe-require 'init-recentf)
(mpolden/maybe-require 'init-vertico)
;; clients
(mpolden/maybe-require 'init-eglot)
(mpolden/maybe-require 'init-eshell)
(mpolden/maybe-require 'init-git)
;; languages
(mpolden/maybe-require 'init-go)
(mpolden/maybe-require 'init-javascript)
(mpolden/maybe-require 'init-lisp)
(mpolden/maybe-require 'init-markdown)
(mpolden/maybe-require 'init-org)
(mpolden/maybe-require 'init-python)
(mpolden/maybe-require 'init-rust)
(mpolden/maybe-require 'init-yaml)
(mpolden/maybe-require 'init-zig)
(provide 'init)
;;; init.el ends here