Add org-roam-dailies capture template
Customizes the folder where to store dailies
This commit is contained in:
parent
70f9130d57
commit
7f832819c4
12
config.org
12
config.org
|
@ -286,6 +286,18 @@ Customize the capture templates:
|
||||||
:unnarrowed t))))
|
:unnarrowed t))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Also setup daily captures templates:
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(after! org-roam
|
||||||
|
(setq org-roam-dailies-capture-templates
|
||||||
|
'(("d" "daily" plain (function org-roam-capture--get-point)
|
||||||
|
""
|
||||||
|
:immediate-finish t
|
||||||
|
:file-name "journal/%<%Y-%m-%d>"
|
||||||
|
:head "#+TITLE: %<%Y-%m-%d>"))))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Doom specific
|
** Doom specific
|
||||||
|
|
||||||
Doom replaces the default tab behavior on headings, this restores the default
|
Doom replaces the default tab behavior on headings, this restores the default
|
||||||
|
|
Loading…
Reference in a new issue