summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--myinit.org27
1 files changed, 16 insertions, 11 deletions
diff --git a/myinit.org b/myinit.org
index 4b382d9..78dd7ab 100644
--- a/myinit.org
+++ b/myinit.org
@@ -610,19 +610,24 @@ If failed try to complete the common part with `company-complete-common'"
:custom
(org-roam-dailies-directory "daily/")
(org-roam-directory "~/org-roam")
+ (org-roam-capture-ref-templates
+ '(("d" "default" plain
+ "%?"
+ :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
+ :unnarrowed t)))
(org-roam-capture-templates
- '(("d" "default" plain
- "%?"
- :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
- :unnarrowed t)
- ("e" "encrypted" plain
- "%?"
- :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org.gpg" "#+title: ${title}\n")
- :unnarrowed t)))
+ '(("d" "default" plain
+ "%?"
+ :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
+ :unnarrowed t)
+ ("e" "encrypted" plain
+ "%?"
+ :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org.gpg" "#+title: ${title}\n")
+ :unnarrowed t)))
(org-roam-dailies-capture-templates
- '(("d" "default" entry "* %<%T>: %?"
- :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")
- :unnarrowed t)))
+ '(("d" "default" entry "* %<%T>: %?"
+ :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")
+ :unnarrowed t)))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n i" . org-roam-node-insert)