update emoji config
This commit is contained in:
parent
46f6e1ceae
commit
9dd3784ed0
3 changed files with 17 additions and 1 deletions
|
@ -167,9 +167,17 @@
|
||||||
'org-babel-load-languages
|
'org-babel-load-languages
|
||||||
'((restclient . t)))
|
'((restclient . t)))
|
||||||
|
|
||||||
|
(setq cnfonts-personal-fontnames
|
||||||
|
'(()
|
||||||
|
()
|
||||||
|
("Noto Color Emoji")
|
||||||
|
()
|
||||||
|
()))
|
||||||
(cnfonts-mode 1)
|
(cnfonts-mode 1)
|
||||||
|
|
||||||
(setq word-wrap-by-category t)
|
(setq word-wrap-by-category t)
|
||||||
|
|
||||||
|
(setq doom-unicode-font (font-spec :family "Noto Color Emoji"))
|
||||||
(add-to-list 'default-frame-alist '(height . 35))
|
(add-to-list 'default-frame-alist '(height . 35))
|
||||||
(add-to-list 'default-frame-alist '(width . 102))
|
(add-to-list 'default-frame-alist '(width . 102))
|
||||||
|
|
||||||
|
|
|
@ -235,9 +235,17 @@
|
||||||
=word-wrap-by-category= 是中文优化,当一行有英文和中文时不折行。
|
=word-wrap-by-category= 是中文优化,当一行有英文和中文时不折行。
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(setq cnfonts-personal-fontnames
|
||||||
|
'(()
|
||||||
|
()
|
||||||
|
("Noto Color Emoji")
|
||||||
|
()
|
||||||
|
()))
|
||||||
(cnfonts-mode 1)
|
(cnfonts-mode 1)
|
||||||
|
|
||||||
(setq word-wrap-by-category t)
|
(setq word-wrap-by-category t)
|
||||||
|
|
||||||
|
(setq doom-unicode-font (font-spec :family "Noto Color Emoji"))
|
||||||
(add-to-list 'default-frame-alist '(height . 35))
|
(add-to-list 'default-frame-alist '(height . 35))
|
||||||
(add-to-list 'default-frame-alist '(width . 102))
|
(add-to-list 'default-frame-alist '(width . 102))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
2
init.el
2
init.el
|
@ -32,7 +32,7 @@
|
||||||
doom ; what makes DOOM look the way it does
|
doom ; what makes DOOM look the way it does
|
||||||
doom-dashboard ; a nifty splash screen for Emacs
|
doom-dashboard ; a nifty splash screen for Emacs
|
||||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
(emoji +unicode) ; 🙂
|
;; emoji ; 🙂
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
;;hydra
|
;;hydra
|
||||||
;;indent-guides ; highlighted indent columns
|
;;indent-guides ; highlighted indent columns
|
||||||
|
|
Loading…
Reference in a new issue