mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
Emacs.. Capture.
This commit is contained in:
@ -809,6 +809,24 @@ https://emacs.stackexchange.com/a/30691
|
|||||||
(org-roam-directory "~/Roam/NewStart")
|
(org-roam-directory "~/Roam/NewStart")
|
||||||
(org-roam-completion-everywhere t)
|
(org-roam-completion-everywhere t)
|
||||||
(org-roam-completion-system 'ivy)
|
(org-roam-completion-system 'ivy)
|
||||||
|
|
||||||
|
;; Org capture
|
||||||
|
(org-roam-capture-templates
|
||||||
|
'(("d" "default" plain
|
||||||
|
"%?"
|
||||||
|
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
("p" "project" plain "* Goals\n\n%?\n\n* Tasks\n\n** TODO Add initial tasks\n\n* Dates\n\n"
|
||||||
|
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+filetags: Project")
|
||||||
|
:unnarrowed t)
|
||||||
|
("b" "book notes" plain (file "~/Roam/Templates/TestTemplate.org")
|
||||||
|
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
("l" "programming language" plain
|
||||||
|
"* Characteristics\n\n- Family: %?\n- Inspired by: \n\n* Reference:\n\n"
|
||||||
|
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
||||||
|
:unnarrowed t)))
|
||||||
|
|
||||||
:bind
|
:bind
|
||||||
(:map org-mode-map
|
(:map org-mode-map
|
||||||
("C-M-i" . completion-at-point))
|
("C-M-i" . completion-at-point))
|
||||||
|
|||||||
Reference in New Issue
Block a user