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