-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathinit.el
129 lines (122 loc) · 4.6 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; set up straight package manager
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; package to control garbage collection (for faster startup)
;; (use-package gcmh)
;; (gcmh-mode 1)
;; Minimize garbage collection during startup
(setq gc-cons-threshold most-positive-fixnum)
;; Lower threshold back to 8 MiB (default is 800kB)
(add-hook 'emacs-startup-hook
(lambda ()
(setq gc-cons-threshold (expt 2 23))))
(load-file "~/.emacs.d/config.el")
(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-faces-vector
[default default default italic underline success warning error])
'(ansi-color-names-vector
["#5f5f5f" "#ff4b4b" "#a1db00" "#fce94f" "#5fafd7" "#d18aff" "#afd7ff" "#ffffff"])
'(awesome-tray-mode-line-active-color "#0031a9")
'(awesome-tray-mode-line-inactive-color "#d7d7d7")
'(codeium/metadata/api_key "1d48df4f-af97-4042-b5ab-cc8c4fac6d3c")
'(custom-safe-themes
'("583148e87f779040b5349db48b6fcad6fe9a873c6ada20487e9a1ec40d845505" "0feb7052df6cfc1733c1087d3876c26c66410e5f1337b039be44cb406b6187c6" "27a1dd6378f3782a593cc83e108a35c2b93e5ecc3bd9057313e1d88462701fcd" "f703efe04a108fcd4ad104e045b391c706035bce0314a30d72fbf0840b355c2c" default))
'(exwm-floating-border-color "#888888")
'(flymake-error-bitmap '(flymake-double-exclamation-mark modus-themes-fringe-red))
'(flymake-note-bitmap '(exclamation-mark modus-themes-fringe-cyan))
'(flymake-warning-bitmap '(exclamation-mark modus-themes-fringe-yellow))
'(highlight-tail-colors '(("#aecf90" . 0) ("#c0efff" . 20)))
'(hl-sexp-background-color "#efebe9")
'(hl-todo-keyword-faces
'(("HOLD" . "#70480f")
("TODO" . "#721045")
("NEXT" . "#5317ac")
("THEM" . "#8f0075")
("PROG" . "#00538b")
("OKAY" . "#30517f")
("DONT" . "#315b00")
("FAIL" . "#a60000")
("BUG" . "#a60000")
("DONE" . "#005e00")
("NOTE" . "#863927")
("KLUDGE" . "#813e00")
("HACK" . "#813e00")
("TEMP" . "#5f0000")
("FIXME" . "#a0132f")
("XXX+" . "#972500")
("REVIEW" . "#005a5f")
("DEPRECATED" . "#201f55")))
'(ibuffer-deletion-face 'modus-themes-mark-del)
'(ibuffer-filter-group-name-face 'modus-themes-pseudo-header)
'(ibuffer-marked-face 'modus-themes-mark-sel)
'(ibuffer-title-face 'default)
'(org-confirm-babel-evaluate nil)
'(org-default-notes-file (concat org-directory "/notes.org"))
'(org-directory "~/Sync/orgfiles")
'(org-export-html-postamble nil)
'(org-export-with-toc nil)
'(org-hide-leading-stars t)
'(org-src-block-faces 'nil)
'(org-src-fontify-natively t)
'(org-startup-folded 'overview)
'(org-startup-indented t)
'(pdf-view-midnight-colors '("#000000" . "#f8f8f8"))
'(safe-local-variable-values
'((eval add-hook 'after-save-hook
(lambda nil
(if
(y-or-n-p "Tangle?")
(org-babel-tangle)))
nil t)))
'(vc-annotate-background nil)
'(vc-annotate-background-mode nil)
'(vc-annotate-color-map
'((20 . "#a60000")
(40 . "#721045")
(60 . "#8f0075")
(80 . "#972500")
(100 . "#813e00")
(120 . "#70480f")
(140 . "#5d3026")
(160 . "#184034")
(180 . "#005e00")
(200 . "#315b00")
(220 . "#005a5f")
(240 . "#30517f")
(260 . "#00538b")
(280 . "#093060")
(300 . "#0031a9")
(320 . "#2544bb")
(340 . "#0000c0")
(360 . "#5317ac")))
'(vc-annotate-very-old-color nil)
'(xterm-color-names
["black" "#a60000" "#005e00" "#813e00" "#0031a9" "#721045" "#00538b" "gray65"])
'(xterm-color-names-bright
["gray35" "#972500" "#315b00" "#70480f" "#2544bb" "#8f0075" "#30517f" "white"]))
(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.
)
(put 'narrow-to-region 'disabled nil)
(put 'downcase-region 'disabled nil)