Config: update path, add org capture tamplate.

This commit is contained in:
trogloxene
2026-04-07 21:34:38 +08:00
parent 0139328623
commit f415371331
4 changed files with 55 additions and 24 deletions

View File

@@ -6,13 +6,13 @@
;; emacs-chinese-word-segmentation 配置
(when *is-windows*
(add-to-list 'load-path "D:/emacs/emacs-chinese-word-segmentation")
(add-to-list 'load-path "h:/emacs/emacs-chinese-word-segmentation/")
;; 设置为进程调用方式
(setq cns-process-type 'shell)
;; 设置可执行文件路径
(setq cns-prog "D:/emacs/emacs-chinese-word-segmentation/cnws.exe")
(setq cns-prog "h:/emacs/emacs-chinese-word-segmentation/cnws.exe")
;; 设置字典目录
(setq cns-dict-directory "D:/emacs/emacs-chinese-word-segmentation/cppjieba/dict")
(setq cns-dict-directory "h:/emacs/emacs-chinese-word-segmentation/cppjieba/dict")
;; 直接设置进程命令,绕过 Windows shell 检测
(setq cns-process-shell-command
(format "%s %s %s %s %s %s"