-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.el
47 lines (36 loc) · 1.24 KB
/
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
44
45
46
47
;;; -*- lexical-binding: t; use-package-always-ensure: t; -*-
(eval-and-compile
(require 'package)
(setq package-archives '(("elpa" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
(package-refresh-contents)
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(require 'use-package)
(setf use-package-always-ensure t))
(setf custom-file (expand-file-name "custom.el" user-emacs-directory))
(unless (file-exists-p custom-file)
(write-region "" nil custom-file))
(load custom-file)
(add-to-list 'load-path (expand-file-name "~/emacs-lisp-conf"))
(setf user-full-name "Phoebe Goldman"
user-mail-address "[email protected]")
(use-package auto-package-update
:config
(setq auto-package-update-delete-old-versions t
auto-package-update-interval 4)
(auto-package-update-maybe))
(use-package cl-lib)
(when (eq system-type 'darwin)
(require 'mac-system-settings))
(require 'window-settings)
(require 'lisp-config)
(require 'misc-settings)
(require 'markup-settings)
(require 'tex-settings)
(require 'keybinding-settings)
(require 'erc-settings)
(require 'python-settings)
(require 'c-settings)
(require 'rust-settings)
(provide 'init)