Add instant capture template for org-roam

Allows inserting new links without being prompted for content
This commit is contained in:
Antoine Martin 2020-05-06 00:22:51 +02:00
parent bf03e08184
commit 70f9130d57

View file

@ -268,6 +268,12 @@ Customize the capture templates:
:file-name "${slug}" :file-name "${slug}"
:head "#+TITLE: ${title}\n" :head "#+TITLE: ${title}\n"
:unnarrowed t) :unnarrowed t)
("i" "instant" plain (function org-roam-capture--get-point)
"%?"
:file-name "${slug}"
:head "#+TITLE: ${title}\n"
:unnarrowed t
:immediate-finish t)
("w" "website" plain (function org-roam-capture--get-point) ("w" "website" plain (function org-roam-capture--get-point)
"" ""
:file-name "websites/${slug}" :file-name "websites/${slug}"