(setq org-directory "~/Org" org-journal-dir (expand-file-name "journal" org-directory) org-journal-file-type 'daily org-journal-file-format "%Y%m%d.org" org-agenda-files '("~/Org/") org-agenda-sticky t org-agenda-prefix-format '((agenda . " %i %t %s") (todo . " %i") (tags . " %i") (search . " %i")) org-refile-use-outline-path t org-refile-allow-creating-parent-nodes t org-refile-use-outline-path 'file org-refile-targets '((nil :maxlevel . 3) (org-agenda-files :maxlevel . 3)) org-outline-path-complete-in-steps nil org-default-notes-file (expand-file-name "notes.org" org-directory)) (setq org-capture-templates '(("n" "Note" entry (file+headline "notes.org" "Inbox") "* %?" :prepend t :empty-lines 1) ("N" "Note (with context)" entry (file+headline "notes.org" "Inbox") "* %?\n%a\n%i" :prepend t :empty-lines 1) ("t" "Task" entry (file+headline "todo.org" "Inbox") "* TODO %?" :prepend t :emptry-lines 1) ("T" "Task (with context)" entry (file+headline "todo.org" "Inbox") "* TODO %?\n%a\n%i" :prepend t :emptry-lines 1) )) (when (require 'hydra nil :noerror) (defhydra org (global-map "C-c o") "Org-Mode" ("a" org-agenda) ("n" org-capture) ("c" org-goto-calendar) ("j j" org-journal-new-entry) ("j n" org-journal-new-date-entry) ("j s" org-journal-new-scheduled-entry))) (provide 'custom-org-config)