Reconfigured my org setup.

This commit is contained in:
James Patrick 2022-09-20 19:27:21 -04:00
parent 8e361edd2e
commit 9fbd660103

View File

@ -3,7 +3,7 @@
(custom-set-variables '(org-directory "~/org/")) (custom-set-variables '(org-directory "~/org/"))
(defvar +org-capture-work-todo-file "work/todo.org" (defvar +org-capture-work-todo-file "Work/todo.org"
"location for my work todo list. "location for my work todo list.
This is defined relative to the `org-directory' unless absolute.") This is defined relative to the `org-directory' unless absolute.")
@ -17,13 +17,15 @@ If it is an absolute path return `+org-capture-work-todo-file' verbatim."
(setq (setq
deft-directory org-directory deft-directory org-directory
org-download-image-dir (concat org-directory "resources") org-download-image-dir (concat org-directory "resources")
org-roam-directory org-directory) org-roam-directory (file-truename "~/org/Roam/"))
(setq org-agenda-files (list (concat org-directory "Todos/")))
;; (setq org-agenda-files (list
;; (concat org-directory +org-capture-work-todo-file )
;; (concat org-directory "todo.org")
;; )
;; )
(setq org-agenda-files (list
(concat org-directory +org-capture-work-todo-file )
(concat org-directory "todo.org")
)
)
;(org-agenda-files (file-expand-wildcards (concat org-directory "*". )"~/ref/*.org") ;(org-agenda-files (file-expand-wildcards (concat org-directory "*". )"~/ref/*.org")
;; Automatically Scan normal locations code for projectes. ;; Automatically Scan normal locations code for projectes.
;; - `src` is used on my linux machine ;; - `src` is used on my linux machine
@ -98,7 +100,7 @@ If it is an absolute path return `+org-capture-work-todo-file' verbatim."
(file+headline +org-capture-work-todo-file "Inbox") (file+headline +org-capture-work-todo-file "Inbox")
"* [_] %?%i\n%a" :prepend t)) "* [_] %?%i\n%a" :prepend t))
(setq org-roam-directory "~/org/roam") (setq org-roam-directory "~/org/Roam")
(load! "org/+babel-diff") (load! "org/+babel-diff")