Skip to content
Snippets Groups Projects
Commit f1d91528 authored by Liu Miao's avatar Liu Miao
Browse files

add font config to init-org.el

parent 9e96df4b
No related branches found
No related tags found
No related merge requests found
......@@ -65,10 +65,14 @@
(add-hook 'org-mode-hook #'valign-mode)
:diminish valign-mode)
(defun use-org ()
"Manage useage of 'org-mode'."
(interactive)
(message "Welcome to the world of writting"))
(with-eval-after-load 'org
(add-hook 'org-mode-hook
'(lambda ()
(make-face 'width-font-face)
(set-face-attribute 'width-font-face nil :font "Sarasa Mono SC 12") ;; 13, 14, 16等会出现不等宽
(setq buffer-face-mode-face 'width-font-face)
(buffer-face-mode))
))
(provide 'init-org)
;;; init-org.el ends here
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment