-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.el
More file actions
61 lines (52 loc) · 2.14 KB
/
init.el
File metadata and controls
61 lines (52 loc) · 2.14 KB
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
;;; init.el -- Init emacs -*- lexical-binding:t ; -*-
;;; Commentary:
;;; Code:
(setq gc-cons-threshold 50000000)
(add-hook 'after-init-hook (defun mnie/reset-gc-cons-threshold-h ()
"Reset gc-cons-threshold."
(setq gc-cons-threshold 800000)
(garbage-collect)))
;; Bootstrap 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))
(setq ;; straight-base-dir (expand-file-name ".local/" user-emacs-directory)
straight-use-package-by-default t)
;; Setup Use-package
(straight-use-package 'use-package)
(require 'use-package)
(setq use-package-always-ensure nil)
;; Load configuration
(let ((file-name-handler-alist nil))
(load-file "~/.emacs.d/config.el"))
;;; init.el ends here
(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.
'(custom-safe-themes
'("c83c095dd01cde64b631fb0fe5980587deec3834dc55144a6e78ff91ebc80b19" default))
'(fci-rule-color "#383a42")
'(jdee-db-active-breakpoint-face-colors (cons "#f0f0f0" "#4078f2"))
'(jdee-db-requested-breakpoint-face-colors (cons "#f0f0f0" "#50a14f"))
'(jdee-db-spec-breakpoint-face-colors (cons "#f0f0f0" "#9ca0a4"))
'(objed-cursor-color "#e45649")
'(pdf-view-midnight-colors (cons "#383a42" "#fafafa"))
'(rustic-ansi-faces
["#fafafa" "#e45649" "#50a14f" "#986801" "#4078f2" "#a626a4" "#0184bc" "#383a42"]))
(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.
)