-
Notifications
You must be signed in to change notification settings - Fork 6
/
early-init.el
27 lines (23 loc) · 1.11 KB
/
early-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
;; prevent emacs package (package.el) initialization
(setq package-enable-at-startup nil)
(advice-add 'package--ensure-init-file :override 'ignore)
;; inhibit resizing frame
(setq frame-inhibit-implied-resize t)
;; Avoid delay with corfu
;; https://github.com/minad/corfu/issues/307
(setq-default pgtk-wait-for-event-timeout 0)
(setq-default
default-frame-alist
'((horizontal-scroll-bars . nil) ;; No horizontal scroll-bars
(menu-bar-lines . 0) ;; No menu bar
(right-divider-width . 1) ;; Thin vertical window divider
(right-fringe . 8) ;; Thin right fringe
(tool-bar-lines . 0) ;; No tool bar
(vertical-scroll-bars . nil))) ;; No vertical scroll-bars
;; from: https://github.com/SystemCrafters/rational-emacs/blob/master/early-init.el
;; native compilation settings
(when (featurep 'native-compile)
;; silence compiler warnings as they can be pretty disruptive
(setq native-comp-async-report-warnings-errors nil)
;; make native compilation happens asynchronously
(setq native-comp-deferred-compilation t))