-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
62 lines (44 loc) · 1.39 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
58
59
60
61
62
;- Packages ----------
(require 'package)
(add-to-list
'package-archives
'("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(defvar my-packages
'(
;; Environment
exec-path-from-shell
;; Clojure
cider
;; List editing
rainbow-delimiters
paredit
))
(when (not package-archive-contents)
(package-refresh-contents))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
;- Environment ----
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize)
(setq mac-right-option-modifier nil))
(setq initial-frame-alist '((top . 0) (left . 0) (width . 180) (height . 60)))
;- Themes ---------
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
(load-theme 'zenburn t)
;- Misc -----------
(tool-bar-mode -1)
;- Custom ---------
(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 (quote (cider rainbow-delimiters paredit))))
(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.
)