feat(org-roam): add file tag dialog in capture templates
This commit is contained in:
parent
48fc692361
commit
3cc3479741
1 changed files with 8 additions and 2 deletions
10
config.org
10
config.org
|
|
@ -3737,7 +3737,10 @@ With those variables created, we can define our templates.
|
|||
(setq org-roam-capture-default-template
|
||||
'("d" "Default" plain ""
|
||||
:target (file+head "${file-maybe-dir}"
|
||||
"#+title: ${title}")
|
||||
"#+title: ${title}
|
||||
%(and-let* ((tags (org-fast-tag-selection nil nil org-current-tag-alist))
|
||||
((not (string-empty-p tags))))
|
||||
(concat \"#+filetags: :\" tags \":\"))")
|
||||
:unnarrowed t
|
||||
:immediate-finish t)
|
||||
org-roam-dailies-capture-default-template
|
||||
|
|
@ -3750,7 +3753,10 @@ With those variables created, we can define our templates.
|
|||
(setq org-roam-capture-templates
|
||||
'(("f" "Standalone file" plain ""
|
||||
:target (file+head "${file-maybe-dir}"
|
||||
"#+title: ${title}")
|
||||
"#+title: ${title}
|
||||
%(and-let* ((tags (org-fast-tag-selection nil nil org-current-tag-alist))
|
||||
((not (string-empty-p tags))))
|
||||
(concat \"#+filetags: :\" tags \":\"))")
|
||||
:unnarrowed t)
|
||||
("n" "Bibliography note" plain ""
|
||||
:target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue