Add instant capture template for org-roam
Allows inserting new links without being prompted for content
This commit is contained in:
parent
bf03e08184
commit
70f9130d57
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue