-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathearly-init.el
32 lines (21 loc) · 866 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
23
24
25
26
27
28
29
30
31
32
;;; -*- lexical-binding: t -*-
;; Author: [email protected]
;; Created: 2024-11-26 18:12:17
;; License: GPLv3
;;; Commentary:
;;
;;; Code:
(setopt debug-on-error t)
(setopt gc-cons-threshold most-positive-fixnum)
(add-to-list 'default-frame-alist '(font . "Iosevka-15"))
(add-to-list 'default-frame-alist '(width . 80))
(add-to-list 'default-frame-alist '(height . 40))
(add-to-list 'default-frame-alist '(menu-bar-lines . nil))
(add-to-list 'default-frame-alist '(tool-bar-lines . nil))
(add-to-list 'default-frame-alist '(vertical-scroll-bars . nil))
(add-hook 'after-init-hook (lambda ()
(setopt debug-on-error nil)
(setopt gc-cons-threshold (* 16 1024 1024))))
(advice-add #'display-startup-echo-area-message :override #'ignore)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; early-init.el ends here