-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathearly-init.el
74 lines (58 loc) · 2.28 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
;;; early-init.el --- -*- lexical-binding: t -*-
(setq gc-cons-threshold most-positive-fixnum
gc-cons-percentage 0.5
package-enable-at-startup nil
file-name-handler-alist nil
site-run-file nil
default-frame-alist
'((vertical-scroll-bars . nil)
(menu-bar-lines . 0)
(tool-bar-lines . 0)
(undecorated . t);会导致所有边框全部消失无法拖动调整窗口大小 需要加上后面两句
(drag-internal-border . 1)
(internal-border-width . 5)
;; (ns-transparent-titlebar . t)
)
mode-line-format nil
byte-compile-warnings nil
native-comp-async-report-warnings-errors nil
warning-suppress-log-types '((comp) (bytecomp)(emacs)) ;; disable `emacs` warnings for `youdao` autoloads
display-time-default-load-average nil
inhibit-startup-screen t
inhibit-startup-message t
inhibit-startup-echo-area-message user-login-name
inhibit-default-init t
initial-major-mode 'fundamental-mode
initial-scratch-message nil
inhibit-compacting-font-caches t
frame-inhibit-implied-resize t
frame-resize-pixelwise t
load-prefer-newer nil
auto-mode-case-fold nil
bidi-display-reordering 'left-to-right
bidi-paragraph-direction 'left-to-right
cursor-in-non-selected-windows nil
highlight-nonselected-windows nil
fast-but-imprecise-scrolling t
ffap-machine-p-known 'reject
redisplay-skip-fontification-on-input t
idle-update-delay 1.0
)
(fset 'display-startup-echo-area-message 'ignore)
(add-to-list 'initial-frame-alist '(fullscreen . maximized))
(custom-set-variables '(x-select-enable-clipboard t))
;; Automatically reread from disk if the underlying file changes
(setq auto-revert-interval 3
auto-revert-check-vc-info t)
(global-auto-revert-mode)
(savehist-mode)
(setq use-package-always-defer t
use-package-enable-imenu-support t
;; use-package-verbose (not (bound-and-true-p byte-compile-current-file))
use-package-verbose nil
use-package-expand-minimally t
use-package-compute-statistics nil)
(setq warning-minimum-level :emergency)
(provide 'early-init)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; early-init.el ends here