-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
57 lines (50 loc) · 1.99 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
48
49
50
51
52
53
54
55
56
57
(require 'package)
;; (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(add-to-list 'package-archives
'("shmelpa" . "https://shmelpa.commandlinesystems.com/packages/")
(require 'package))
(package-initialize)
;; This is only needed once, near the top of the file
(eval-when-compile
;; Following line is not needed if use-package.el is in ~/.emacs.d
;;(add-to-list 'load-path "<path where use-package is installed>")
(require 'use-package))
(setq use-package-always-ensure t)
(use-package org)
(use-package nov)
(use-package evil)
(use-package hydra)
(use-package emacs-everywhere)
(use-package emamux)
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(use-package modus-themes
:ensure
:init
;; Add all your customizations prior to loading the themes
(setq modus-themes-slanted-constructs t
modus-themes-bold-constructs nil
modus-themes-region 'no-extend)
;; Load the theme files before enabling a theme
(modus-themes-load-themes)
:config
;; Load the theme of your choice:
;;(modus-themes-load-operandi)
;; OR
(modus-themes-load-vivendi)
:bind ("<f5>" . modus-themes-toggle))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
'(emamux emacs-everywhere modus-themes use-package nov hydra evil)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)