-
Notifications
You must be signed in to change notification settings - Fork 0
/
early-init.el
22 lines (18 loc) · 929 Bytes
/
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
;;; early-init.el --- Early initialization. -*- lexical-binding: t; -*-
;;; Commentary:
;; Init code that runs before the package system and GUI is initialized.
;;; Code:
;; PERF: Garbage collection is a big contributor to startup times. This fends it
;; off, but will be reset later by `gcmh-mode' (or in doom-cli.el, if in a
;; noninteractive session). Not resetting it later causes stuttering/freezes.
(setq gc-cons-threshold most-positive-fixnum)
(setq frame-resize-pixelwise t)
(tool-bar-mode -1) ; All these tools are in the menu-bar anyway
(setq default-frame-alist '(
;; You can turn off scroll bars by uncommenting these lines:
(vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil)
(ns-appearance . dark)
(ns-transparent-titlebar . t)))
;;; early-init.el ends here
(provide 'early-init)