From 70f9130d573cc4b5747df25c97e9db7ffa3850a0 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 6 May 2020 00:22:51 +0200 Subject: [PATCH] Add instant capture template for org-roam Allows inserting new links without being prompted for content --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index 15d3b90..ce8bbe4 100644 --- a/config.org +++ b/config.org @@ -268,6 +268,12 @@ Customize the capture templates: :file-name "${slug}" :head "#+TITLE: ${title}\n" :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) "" :file-name "websites/${slug}"