Windows 11 WSL2 德班 Emacs 27.1 厄运 emacs 新安装,目前完全未配置。
嗨,我是 emacs/doom emacs 的新手,我是第一次尝试配置 org-mode。我应该将配置项放入哪个配置文件(init.el、config.el、custom.el 或其他)?
按照以下教程作为配置的起点: https://config.daviwil.com/workflow
非常感谢您的帮助,西蒙
只要在你的
config.el
就足够了。
在 config.el(废话)和
(after! org ... )
块中。例如,如果您想添加捕获模板,它们只能在组织包加载后设置:
(after! org
(add-to-list 'org-capture-templates
'("T" "Custom todo" entry
(file+headline +org-capture-todo-file "Inbox")
"* TODO %?\n%i%U\n%a" :prepend t))
(add-to-list 'org-capture-templates
'("J" "Custom journal" entry
(file+olp+datetree +org-capture-journal-file)
"* =%<%H:%M>= %?\n%i\n%a" :kill-buffer t))
我是 emacs/doom 的新手
对于任何在相同情况下读到它的人 - 愿上帝帮助你。