Update org-roam dailies configuration

This commit is contained in:
Dimitri Lozeve 2021-11-16 15:35:43 +01:00
parent 0c91351414
commit 8f2cda87eb

14
init.el
View file

@ -767,10 +767,8 @@
("C-c n f" . org-roam-node-find) ("C-c n f" . org-roam-node-find)
("C-c n g" . org-roam-graph) ("C-c n g" . org-roam-graph)
("C-c n i" . org-roam-node-insert) ("C-c n i" . org-roam-node-insert)
("C-c n c" . org-roam-capture) ("C-c n c" . org-roam-capture))
;; Dailies :bind-keymap ("C-c n d" . org-roam-dailies-map)
("C-c n j" . org-roam-dailies-capture-today)
("C-c n t" . org-roam-dailies-find-today))
:init :init
(setq org-roam-v2-ack t) (setq org-roam-v2-ack t)
(setq org-roam-completion-system 'default) (setq org-roam-completion-system 'default)
@ -781,8 +779,10 @@
(require 'org-roam-protocol) (require 'org-roam-protocol)
(setq org-roam-dailies-directory "daily/") (setq org-roam-dailies-directory "daily/")
(setq org-roam-dailies-capture-templates (setq org-roam-dailies-capture-templates
'(("d" "default" entry "* %?" '(("d" "default" entry "* %U %?"
:if-new (file+datetree "%<%Y-W%V>.org" day))))) :empty-lines-before 1
:target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>
")))))
(use-package org-roam-ui (use-package org-roam-ui
:straight :straight
@ -801,7 +801,7 @@
(use-package deft (use-package deft
:straight t :straight t
:after org :after org
:bind ("C-c n d" . deft) :bind ("C-c n s" . deft)
:custom :custom
(deft-recursive t) (deft-recursive t)
(deft-use-filter-string-for-filename t) (deft-use-filter-string-for-filename t)