-
Notifications
You must be signed in to change notification settings - Fork 1
/
early-init.el
65 lines (59 loc) · 2.38 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
;; package.el
(setq package-enable-at-startup nil)
(setq frame-resize-pixelwise t)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(inhibit-startup-screen t)
'(inhibit-startup-message t)
'(initial-scratch-message nil)
'(initial-frame-alist
'((width . 224)
(height . 73)
(internal-border-width . 8)
(top . 0)
(left . 0)
(left-fringe . 0)
(right-fringe . 0)
(tool-bar-lines . 0)))
'(menu-bar-mode nil)
'(scroll-bar-mode nil)
'(tool-bar-mode nil)
'(initial-buffer-choice nil)
'(frame-title-format nil)
'(cursor-in-non-selected-windows nil)
'(font-lock-maximum-decoration nil)
'(font-lock-maximum-size nil)
'(x-underline-at-descent-line t)
'(window-divider-default-right-width 16)
'(window-divider-default-places 'right-only))
;; No titlebar
(add-to-list 'default-frame-alist '(undecorated . t))
;; font
;; AsciiフォントをFira Codeに
(set-face-attribute 'default nil
:family "Fira Code"
:height 130)
;; https://github.com/emacs-lsp/lsp-mode#performance Increase the
;; amount of data which Emacs reads from the process. Again the emacs
;; default is too low 4k considering that the some of the language
;; server responses are in 800k - 3M range.
(setq-default read-process-output-max (* 1024 1024))
;; CJKフォントの横幅を調整
;; 12121212121212121212
;; あいうえおかきくけこ
;; (add-to-list 'face-font-rescale-alist '(".*Noto.*" . 1.2))
;; (add-to-list 'face-font-rescale-alist '(".*MotoyaLCedar.*" . 1.2))
;; (add-to-list 'face-font-rescale-alist '(".*BIZ UD.*" . 1.2))
(add-to-list 'face-font-rescale-alist '(".*Source Han Code JP.*" . 1.3))
(add-to-list 'face-font-rescale-alist '(".*Adobe Clean Han.*" . 1.3))
;; all-the-iconsの横幅を調整
(add-to-list 'face-font-rescale-alist '(".*all-the-icons.*" . 0.8))
(add-to-list 'face-font-rescale-alist '(".*file-icons.*" . 0.8))
(add-to-list 'face-font-rescale-alist '(".*FontAwesome.*" . 0.8))
(add-to-list 'face-font-rescale-alist '(".*octicons.*" . 0.8))
(add-to-list 'face-font-rescale-alist '(".*Weather Icons.*" . 0.8))
(add-to-list 'face-font-rescale-alist '(".*Material Icons.*" . 0.8))
(add-to-list 'face-font-rescale-alist '(".*Apple Color Emoji.*" . 0.9))