-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
32 lines (25 loc) · 875 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
;;; init.el --- Core Emacs configurations -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require 'package)
(require 'use-package-ensure)
(setq package-archives
'(("melpa-stable" . "https://stable.melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("elpa" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")
))
;; initialize use-package on non-linux platforms
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(setq use-package-always-ensure t)
(unless package-archive-contents (package-refresh-contents))
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
(require 'init-emacs)
(require 'init-benchmarking)
(require 'init-org)
(require 'init-packages)
(require 'init-aesthetics)
(require 'init-languages)