-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
78 lines (62 loc) · 2.02 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
;;; init.el --- -*- lexical-binding: t; -*-
;; Copyright (C) 2020 vritser
;; Author: vritser <vritser@gmail.com>
;; Keywords: convenience
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;
;;; Code:
(defun add-subdirs-to-load-path (dir)
"Recursive add `DIR` to `load-path'."
(let ((default-directory (file-name-as-directory dir)))
(add-to-list 'load-path dir)
(normal-top-level-add-subdirs-to-load-path)))
(add-subdirs-to-load-path "~/.emacs.d/site-lisp/")
(require 'init-const)
(require 'init-custom)
(require 'init-package)
(require 'init-base)
(require 'init-dashboard)
(require 'init-thing-edit)
(require 'init-tools)
(require 'init-funcs)
(require 'init-xah-fly-keys)
(require 'init-projectile)
(require 'init-ui)
(require 'init-v)
(require 'init-yasnippet)
(require 'init-awesome-pair)
(require 'init-company)
;; (require 'init-corfu)
;; (require 'init-consult)
(require 'init-go)
(require 'init-lsp)
;; (require 'init-nox)
(require 'init-highlight)
(require 'init-ivy)
(require 'init-prog)
;; (require 'init-web)
(require 'init-js)
(require 'init-scala)
(require 'init-org)
(require 'init-org-roam)
(require 'init-flycheck)
(require 'init-elfeed)
;; (require 'eaf)
;; (require 'eaf-browser)
;; (require 'eaf-vue-demo)
;; (require 'eaf-demo)
;; (setq eaf-enable-debug nil)
(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)
;; (provide 'init)
;;; init.el ends here