-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
129 lines (121 loc) · 4.52 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
(require 'package)
(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.
'(ansi-color-names-vector
["#3F3F3F" "#CC9393" "#7F9F7F" "#F0DFAF" "#8CD0D3" "#DC8CC3" "#93E0E3" "#DCDCCC"])
'(backup-inhibited t t)
'(blink-cursor-blinks 0)
'(cider-mode-line-show-connection nil)
'(cider-ovelays-use-font-lock t)
'(cider-prompt-for-project-on-connect t)
'(cider-repl-result-prefix ";=> ")
'(cider-repl-use-clojure-font-lock t)
'(cider-repl-use-pretty-printing t)
'(cider-use-overlays nil)
'(company-idle-delay 0.2)
'(company-minimum-prefix-length 1)
'(company-quickhelp-color-background "#4F4F4F")
'(company-quickhelp-color-foreground "#DCDCCC")
'(company-quickhelp-delay nil)
'(company-quickhelp-mode 1)
'(compilation-ask-about-save nil)
'(confirm-nonexistent-file-or-buffer nil)
'(custom-safe-themes
'("f2c35f8562f6a1e5b3f4c543d5ff8f24100fae1da29aeb1864bbc17758f52b70" default))
'(delete-by-moving-to-trash nil)
'(echo-keystrokes 0.02)
'(ediff-split-window-function 'split-window-horizontally)
'(ediff-window-setup-function 'ediff-setup-windows-plain)
'(fci-rule-color "#383838")
'(inhibit-startup-echo-area-message t)
'(inhibit-startup-screen t)
'(initial-major-mode 'lisp-interaction-mode)
'(ivy-height 13)
'(ivy-use-virtual-buffers t)
'(magit-completing-read-function 'ivy-completing-read)
'(markdown-command "/usr/local/bin/multimarkdown")
'(next-error-highlight t)
'(next-error-highlight-no-select t)
'(nrepl-message-colors
'("#CC9393" "#DFAF8F" "#F0DFAF" "#7F9F7F" "#BFEBBF" "#93E0E3" "#94BFF3" "#DC8CC3"))
'(nsm-settings-file "~/.emacs.d/etc/network-security.data")
'(org-cycle-include-plain-lists 'integrate)
'(org-ellipsis " ►")
'(package-selected-packages
'(git-gutter diminish flycheck flycheck-clj-kondo buffer-move spaceline treemacs-all-the-icons zenburn zenburn-theme exwm markdown-mode move-text expand-region ace-window counsel swiper ivy smex clj-refactor undo-tree company-quickhelp multiple-cursors which-key company magit fullframe cider paredit rainbow-delimiters avy))
'(pdf-view-midnight-colors '("#DCDCCC" . "#383838"))
'(powerline-default-separator 'slant)
'(powerline-height 24)
'(query-replace-highlight t)
'(recentf-max-saved-items 200)
'(recentf-save-file "~/.emacs.d/etc/recent-files")
'(require-final-newline t)
'(ring-bell-function 'ignore)
'(safe-local-variable-values
'((cider-default-cljs-repl . "Figwheel")
(org-todo-keyword-faces
("TODO" . "OrangeRed")
("STARTED" . "DarkOrange")
("DONE" . "green"))
(org-todo-keyword-faces
("TODO" . "red")
("STARTED" . "orange")
("DONE" . "green"))))
'(save-place-file "~/.emacs.d/etc/places")
'(save-place-forget-unreadable-files nil)
'(select-enable-clipboard t)
'(shift-select-mode nil)
'(show-paren-delay 0)
'(smex-save-file "~/.emacs.d/etc/smex-items")
'(sml/mode-width 'full)
'(sml/theme 'dark)
'(transient-mark-mode t)
'(truncate-partial-width-windows nil)
'(uniquify-after-kill-buffer-p t)
'(uniquify-buffer-name-style 'forward nil (uniquify))
'(uniquify-ignore-buffers-re "^\\*")
'(uniquify-separator "/")
'(vc-annotate-background "#2B2B2B")
'(vc-annotate-color-map
'((20 . "#BC8383")
(40 . "#CC9393")
(60 . "#DFAF8F")
(80 . "#D0BF8F")
(100 . "#E0CF9F")
(120 . "#F0DFAF")
(140 . "#5F7F5F")
(160 . "#7F9F7F")
(180 . "#8FB28F")
(200 . "#9FC59F")
(220 . "#AFD8AF")
(240 . "#BFEBBF")
(260 . "#93E0E3")
(280 . "#6CA0A3")
(300 . "#7CB8BB")
(320 . "#8CD0D3")
(340 . "#94BFF3")
(360 . "#DC8CC3")))
'(vc-annotate-very-old-color "#DC8CC3")
'(which-key-idle-delay 0.1)
'(which-key-show-transient-maps t)
'(winner-mode 1))
(defun require-package (pkg)
"Installs package if it is not already installed"
(when (not (package-installed-p pkg))
(package-install pkg))
(require pkg))
(defun require-packages (pkgs)
(mapc 'require-package pkgs))
(dolist (source '(("melpa" . "http://melpa.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("gnu" . "http://elpa.gnu.org/packages/")))
(add-to-list 'package-archives source t))
;; (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") ;; WORKAROUND. Already Fixed?
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(add-to-list 'load-path (concat user-emacs-directory "config"))
(require 'all-configs)