20 lines
798 B
EmacsLisp
20 lines
798 B
EmacsLisp
;;; roam-capture-templates.el -*- lexical-binding: t; -*-
|
|
|
|
(setq org-roam-capture-templates
|
|
'(
|
|
("d" "default" plain "%?"
|
|
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
|
"#+title: ${title}\n") :unnarrowed t)
|
|
("p" "programming" plain "%?"
|
|
:target (file+head "programming/%<%Y%m%d%H%M%S>-${slug}.org"
|
|
"#+title: ${title}\n") :unnarrowed t)
|
|
("A" "machine_learning" plain "%?"
|
|
:target (file+head "machine_learning/%<%Y%m%d%H%M%S>-${slug}.org"
|
|
"#+title: ${title}\n") :unnarrowed t)
|
|
("l" "linux" plain "%?"
|
|
:target (file+head "linux/%<%Y%m%d%H%M%S>-${slug}.org"
|
|
"#+title: ${title}\n") :unnarrowed t)
|
|
|
|
)
|
|
)
|