ADD initial org-roam daillies config
This commit is contained in:
parent
59000ce576
commit
8c49155a1c
|
@ -116,7 +116,22 @@
|
|||
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
|
||||
(setq org-agenda-files '("/home/alexandre/Nextcloud/PRIVE/13_Org/journal"))
|
||||
(setq org-directory (concat (getenv "HOME") "/Nextcloud/PRIVE/13_Org/notes"))
|
||||
|
||||
(setq org-default-notes-file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
;;(setq org-capture-templates
|
||||
;; '(("b" "Ajouter au backlog" entry
|
||||
;; (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
;; "* TODO %?" :empty-lines 1))
|
||||
(setq org-capture-templates
|
||||
'(("t" "TODO" entry (file+datetree "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
"* TODO %? %^G \n %U" :empty-lines 1)
|
||||
("s" "Scheduled TODO" entry (file+datetree "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
"* TODO %? %^G \nSCHEDULED: %^t\n %U" :empty-lines 1)
|
||||
("l" "Link" entry (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
"* TODO %a %? %^G\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n")
|
||||
("n" "Note" entry (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
"* %? %^G\n%U" :empty-lines 1)
|
||||
("j" "Journal" entry (file+datetree "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||
"* %? %^G\nEntered on %U\n")))
|
||||
;; Org-Roam basic configuration
|
||||
|
||||
(use-package org-roam
|
||||
|
@ -140,6 +155,12 @@
|
|||
;; (:map org-roam-dailies-map
|
||||
;; (("Y" . org-roam-dailies-capture-yesterday)
|
||||
;; ("T" . org-roam-dailies-capture-tomorrow))))
|
||||
(setq org-roam-dailies-capture-templates
|
||||
'(("d" "default" entry
|
||||
"* %?"
|
||||
;;:target (file+datetree "journal-2023.org" year))))
|
||||
:target (file+head "journal-%<%Y>.org" "#+TITLE: %<%Y-%m-%d>\n"))))
|
||||
;; :target (file+head "%<%Y-%m>.org" "#+TITLE: %<%Y-%m>\n"))))
|
||||
|
||||
|
||||
;; one file org
|
||||
|
|
Loading…
Reference in New Issue