-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.el
32 lines (25 loc) · 789 Bytes
/
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
(require 'package)
(setq package-archives
'(("gnu" . "https://mirrors.ustc.edu.cn/elpa/gnu/")
("melpa" . "https://mirrors.ustc.edu.cn/elpa/melpa/")
("nongnu" . "https://mirrors.ustc.edu.cn/elpa/nongnu/")))
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-and-compile
(setq use-package-compute-statistics t))
(eval-when-compile
(require 'use-package))
(add-to-list 'load-path "~/.emacs.d/core/")
(require 'init-base)
(require 'init-ui)
(require 'init-modern)
(require 'init-enhance)
(require 'init-document)
(require 'init-lang)
(require 'init-config)
(require 'init-feed)
(require 'init-keymap)
(setq custom-file "~/.emacs.d/custom.el")
(when (file-exists-p custom-file)
(load custom-file))