Remove extraneous org-roam capture template
This commit is contained in:
parent
14f7243c68
commit
3aa0e201ed
@ -2023,15 +2023,6 @@ Quickly find stuff in Org files:
|
|||||||
(which-key-add-key-based-replacements "C-c n" "org-roam")
|
(which-key-add-key-based-replacements "C-c n" "org-roam")
|
||||||
(which-key-add-major-mode-key-based-replacements
|
(which-key-add-major-mode-key-based-replacements
|
||||||
'org-mode "gn" "org-roam")
|
'org-mode "gn" "org-roam")
|
||||||
(defun org-roam-new-filename ()
|
|
||||||
"Creates a new org-roam filename"
|
|
||||||
(concat org-roam-directory
|
|
||||||
"/"
|
|
||||||
(org-roam--get-new-id)
|
|
||||||
".org"))
|
|
||||||
(add-to-list 'org-capture-templates
|
|
||||||
'("r" "Roam" plain (file org-roam-new-filename)
|
|
||||||
"#+TITLE: %^{Title}\n\n%?"))
|
|
||||||
:config
|
:config
|
||||||
(add-hook 'org-roam-backlinks-mode-hook #'olivetti-mode)
|
(add-hook 'org-roam-backlinks-mode-hook #'olivetti-mode)
|
||||||
:general
|
:general
|
||||||
|
Loading…
Reference in New Issue
Block a user