Config: add jinx spell check, org-download, and keybinding updates
This commit is contained in:
@@ -119,15 +119,26 @@
|
||||
(unless (eq ibuffer-sorting-mode 'alphabetic)
|
||||
(ibuffer-do-sort-by-alphabetic)))))
|
||||
|
||||
;; avy中文支持
|
||||
(use-package ace-pinyin
|
||||
:init (ace-pinyin-global-mode +1))
|
||||
|
||||
;; 安装ox-hugo
|
||||
(use-package ox-hugo
|
||||
:custom
|
||||
(empv-mpv-args '("--force-window=immediate"
|
||||
"--keep-open=yes"
|
||||
"--fs=no")))
|
||||
;; jinx,拼写检查
|
||||
(use-package jinx
|
||||
:hook (org-mode-hook . jinx-mode)
|
||||
:bind ([remap ispell-word] . jinx-correct)
|
||||
: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))))))
|
||||
|
||||
;; 安装emms
|
||||
(use-package emms
|
||||
|
||||
Reference in New Issue
Block a user