-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
33 lines (26 loc) · 952 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
33
2;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(require 'cask "~/.cask/cask.el")
(cask-initialize) ; 类似于 package-initialize
(require 'pallet)
(pallet-mode t) ; 激活 pallet, 在安装包时将 Cask 文件写入相应信息
(add-to-list 'load-path "~/.emacs.d/lisp/")
;;快速打开配置文件
(defun open-init-file()
(interactive)
(find-file "~/.emacs.d/init.el"))
(setq custom-file (expand-file-name "lisp/custom.el" user-emacs-directory))
(require 'init-packages)
(require 'init-ui)
(require 'init-better-defaults)
(require 'init-org)
(require 'init-latex)
(require 'org-install)
(require 'ob-tangle)
(require 'init-keybindings)
(require 'init-python)
(require 'init-ox)
(load-file custom-file)