mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs): LLM, LaTeX
This commit is contained in:
parent
9b19b8b834
commit
cb81828291
8 changed files with 161 additions and 47 deletions
|
|
@ -1,12 +1,23 @@
|
|||
;;; init-appearance.el
|
||||
|
||||
(when (display-graphic-p)
|
||||
(add-to-list 'default-frame-alist '(font . "Maple Mono NF CN")))
|
||||
;; Always set frame font
|
||||
;; If don't set this, `emacs --daemon' will not set the font
|
||||
;; for new graphical frames.
|
||||
(add-to-list 'default-frame-alist '(font . "Maple Mono NF CN"))
|
||||
|
||||
;; Set CJK Display Font
|
||||
(dolist (charset '(kana han cjk-misc bopomofo))
|
||||
(set-fontset-font t charset (font-spec :family "Maple Mono NF CN")))
|
||||
|
||||
|
||||
;; Variable Pitch Font
|
||||
;; Used in `variable-pitch-mode'
|
||||
(set-face-attribute 'variable-pitch nil
|
||||
:family "LXGW WenKai Screen"
|
||||
:height 140
|
||||
:weight 'regular)
|
||||
|
||||
|
||||
;; Icon Support
|
||||
;; Once installed, Manually install the fonts required:
|
||||
;; M-x all-the-icons-install-fonts
|
||||
|
|
@ -87,6 +98,13 @@
|
|||
|
||||
(global-tab-line-mode) ; bufferline
|
||||
|
||||
(use-package highlight-indent-guides
|
||||
:hook ((prog-mode yaml-mode org-mode) . highlight-indent-guides-mode)
|
||||
:init
|
||||
(setq highlight-indent-guides-method 'column)
|
||||
(setq highlight-indent-guides-responsive 'top)
|
||||
(setq highlight-indent-guides-auto-character-face-perc 5))
|
||||
|
||||
|
||||
|
||||
(provide 'init-appearance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue