fix(emacs): include id
in org-roam filenames
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
4ee1780708
commit
3a70182408
1 changed files with 2 additions and 2 deletions
|
@ -46,10 +46,10 @@
|
||||||
"* %i%? \n %U")))
|
"* %i%? \n %U")))
|
||||||
(setq org-roam-capture-templates
|
(setq org-roam-capture-templates
|
||||||
'(("n" "default" plain "%?"
|
'(("n" "default" plain "%?"
|
||||||
:target (file+head "${slug}.org" "#+title: ${title}\n")
|
:target (file+head "${slug}:${id}.org" "#+title: ${title}\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("N" "encrypted" plain "%?"
|
("N" "encrypted" plain "%?"
|
||||||
:target (file+head "${slug}.org.gpg" "#+title: ${title}\n")
|
:target (file+head "${slug}:${id}.org.gpg" "#+title: ${title}\n")
|
||||||
:unnarrowed t)))
|
:unnarrowed t)))
|
||||||
(setq org-refile-targets '(("~/org/gtd.org" :maxlevel . 3)
|
(setq org-refile-targets '(("~/org/gtd.org" :maxlevel . 3)
|
||||||
("~/org/someday.org" :level . 1)
|
("~/org/someday.org" :level . 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue