Doom-Emacs:组织模式配置项的放置位置



Windows 11WSL2DebianEmacs 27.1末日消瘦新安装,目前完全未配置。

嗨,我是emacs/doom emacs的新手,第一次尝试配置组织模式。我将配置项放在哪个配置文件中(init.el、config.el、custom.el或其他(?

按照以下教程作为配置的起点:https://config.daviwil.com/workflow

非常感谢您的帮助,Simon

只要在config.el中就足够了。

config.el(duh(和(after! org ... )块中的

。例如,如果你想添加捕获模板,它们只能在组织包加载后设置:

(after! org
(add-to-list 'org-capture-templates
'("T" "Custom todo" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %?n%i%Un%a" :prepend t))
(add-to-list 'org-capture-templates
'("J" "Custom journal" entry
(file+olp+datetree +org-capture-journal-file)
"* =%<%H:%M>= %?n%in%a" :kill-buffer t))

我是emacs/doom 的新手

无论谁在同样的情况下阅读它,愿上帝帮助你。

最新更新