Blame


1 678b3cb3 2022-03-16 op # early init
2 678b3cb3 2022-03-16 op
3 678b3cb3 2022-03-16 op Starting from GNU Emacs 27 there is an additional configuration file
4 678b3cb3 2022-03-16 op called `early-init.el'. As the name suggest, this is called *before*
5 678b3cb3 2022-03-16 op the usual `init.el' or `.emacs'. There are some small tweaks we can
6 678b3cb3 2022-03-16 op do here to improve startup performance and to declutter the `init.el'
7 678b3cb3 2022-03-16 op
8 678b3cb3 2022-03-16 op (menu-bar-mode -1)
9 678b3cb3 2022-03-16 op (tool-bar-mode -1)
10 678b3cb3 2022-03-16 op (scroll-bar-mode -1)
11 678b3cb3 2022-03-16 op (horizontal-scroll-bar-mode -1)
12 678b3cb3 2022-03-16 op
13 678b3cb3 2022-03-16 op It's also a great place to tweak the `load-path'!
14 678b3cb3 2022-03-16 op
15 678b3cb3 2022-03-16 op (add-to-list 'load-path
16 678b3cb3 2022-03-16 op (expand-file-name "lisp" user-emacs-directory))
17 678b3cb3 2022-03-16 op
18 678b3cb3 2022-03-16 op Another thing I do here is to load the theme. I've developed my own
19 4ea90123 2023-02-17 op theme (minimal-light, a fork of the original), but it's temporarly
20 4ea90123 2023-02-17 op disabled until I find a way to make it look decently on the tty.
21 678b3cb3 2022-03-16 op
22 4ea90123 2023-02-17 op ;; (load-theme 'minimal t)
23 678b3cb3 2022-03-16 op
24 cbf9a6a1 2022-06-21 op and just a reminder for myself, these are some wip settings for modus
25 cbf9a6a1 2022-06-21 op vivendi in case I want to play with it again in the future:
26 cbf9a6a1 2022-06-21 op
27 cbf9a6a1 2022-06-21 op
28 cbf9a6a1 2022-06-21 op ;; (setq modus-themes-mode-line '(accented borderless))
29 cbf9a6a1 2022-06-21 op ;; (setq modus-themes-region '(accented bg-only))
30 cbf9a6a1 2022-06-21 op ;; (setq modus-themes-completions '((matches . (underline light))
31 cbf9a6a1 2022-06-21 op ;; (selection . (underline light))
32 cbf9a6a1 2022-06-21 op ;; (popup . (accented))))
33 cbf9a6a1 2022-06-21 op
34 678b3cb3 2022-03-16 op Also, $CDPATH works strange in eshell so disable it:
35 678b3cb3 2022-03-16 op
36 678b3cb3 2022-03-16 op (setenv "CDPATH" nil)