Config: add jinx spell check, org-download, and keybinding updates

This commit is contained in:
User
2026-03-30 11:59:47 +08:00
parent e7a0e1b382
commit 8e0d0a7551
4 changed files with 127 additions and 32 deletions

View File

@@ -130,15 +130,24 @@
:config (setq jinx-languages "en_US")
(add-to-list 'jinx-exclude-regexps '(t "\\cc"))
(with-eval-after-load 'jinx
(dolist (range '((#x4E00 . #x9FFF)
(#x3400 . #x4DBF)
(#x3000 . #x303F)
(#xFF00 . #xFFEF)
(#x20000 . #x2A6DF)))
(let ((start (car range))
(end (cdr range)))
(dotimes (i (- end start))
(modify-syntax-entry (+ start i) "_" jinx--syntax-table))))))
(dolist (range '((#x4E00 . #x9FFF)
(#x3400 . #x4DBF)
(#x3000 . #x303F)
(#xFF00 . #xFFEF)
(#x20000 . #x2A6DF)))
(let ((start (car range))
(end (cdr range)))
(dotimes (i (- end start))
(modify-syntax-entry (+ start i) "_" jinx--syntax-table)))))
(require 'init-jinx))
;; flycheck
(use-package flycheck
:init
(add-hook 'after-init-hook #'global-flycheck-mode))
;; consult-flycheck
(use-package consult-flycheck)
;; 安装emms
(use-package emms