-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
40 lines (32 loc) · 1007 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
;;; package --- Summary
;;; Commentary:
;; Bootstrap 'use-package
(require 'package)
;;; Code:
(setq package-enable-at-startup nil)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(package-initialize nil)
;; Add custom lisp files to the load-path
(add-to-list 'load-path "~/.emacs.d/lisp")
(package-initialize nil)
;(require 'vde-functions)
;; initialize all ELPA packages
(require 'setup-package)
;; Make sure we have a decent and recent org-mode version
(require 'org)
;; keep customize settings in their own file
(setq custom-file
(expand-file-name "custom.el"
user-emacs-directory))
(when (file-exists-p custom-file)
(load custom-file))
;; load the literate configuration
(require 'ob-tangle)
(org-babel-load-file "~/.emacs.d/emacs.org")
(provide 'init)
;;; init.el ends here