-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
43 lines (28 loc) · 1020 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
34
35
36
37
38
39
40
41
42
43
;;; init.el -- My emacs init file
;;; Commentary:
;;; Code:
;; 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)
(setq custom-file "/dev/null")
(setq load-prefer-newer t)
(add-to-list 'load-path (concat user-emacs-directory "core/"))
(require 'ch-variables)
(require 'ch-packages)
(require 'ch-functions)
(require 'ch-mode)
(unless (file-exists-p ch-savefile-dir)
(make-directory ch-savefile-dir))
(add-to-list 'load-path ch-packages-dir)
(setq gc-cons-threshold 50000000)
(when (eq system-type 'darwin)
(require 'ch-osx))
(require 'ch-modules)
(if (f-exists? (locate-user-emacs-file "local.el"))
(load-file (locate-user-emacs-file "local.el")))
;; (add-to-list 'default-frame-alist
;; '(font . "Iosevka Nerd Font Mono-13"))
(provide 'init)
;;; init.el ends here