This commit is contained in:
Jethro Kuan
2021-04-14 01:26:40 +08:00
parent bad71fb928
commit b1ebba4b9a

View File

@ -63,18 +63,20 @@ during the Org-roam capture process.")
Each entry is a list with the following items: Each entry is a list with the following items:
keys The keys that will select the template, as a string, characters only, keys The keys that will select the template, as a string, characters only, for
for example \"a\" for a template to be selected with a single key, or \"bt\" example \"a\" for a template to be selected with a single key, or
for selection with two keys. When using several keys, keys using the same prefix \"bt\" for selection with two keys. When using several keys, keys
must be together in the list and preceded by a 2-element entry using the same prefix must be together in the list and preceded by a
explaining the prefix key, for example: 2-element entry explaining the prefix key, for example:
(\"b\" \"Templates for marking stuff to buy\") (\"b\" \"Templates for marking stuff to buy\")
The \"C\" key is used by default for quick access to the customization of The \"C\" key is used by default for quick access to the customization of
the template variable. But if you want to use that key for a template, you can. the template variable. But if you want to use that key for a template,
you can.
description A short string describing the template, which will be shown during selection. description A short string describing the template, which will be shown
during selection.
type The type of entry. Valid types are: type The type of entry. Valid types are:
entry an Org node, with a headline. Will be filed entry an Org node, with a headline. Will be filed
@ -218,7 +220,7 @@ be replaced with content and expanded:
%k Title of currently clocked task. %k Title of currently clocked task.
%K Link to currently clocked task. %K Link to currently clocked task.
%n User name (taken from the variable `user-full-name'). %n User name (taken from the variable `user-full-name').
%f File visited by current buffer when org-capture was called. %f File visited by current buffer when `org-capture' was called.
%F Full path of the file or directory visited by current buffer. %F Full path of the file or directory visited by current buffer.
%:keyword Specific information for certain link types, see below. %:keyword Specific information for certain link types, see below.
%^g Prompt for tags, with completion on tags in target file. %^g Prompt for tags, with completion on tags in target file.