summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/init-notes.el15
1 files changed, 10 insertions, 5 deletions
diff --git a/config/init-notes.el b/config/init-notes.el
index cec980d..0cdf5c6 100644
--- a/config/init-notes.el
+++ b/config/init-notes.el
@@ -21,7 +21,7 @@
   :custom
   (org-directory "~/Documents/org")
   (org-default-notes-file (expand-file-name "notes.org" org-directory))
-  (org-agenda-files '("tasks.org" "inbox.org" "notes.org" "contacts.org"))
+  (org-agenda-files '("inbox.org" "notes.org" "contacts.org" "hardware.org"))
   
   (org-startup-folded t)
   (org-startup-indented t)
@@ -40,8 +40,9 @@
   (org-log-into-drawer t)
 
   ;; org-refile options
-  (org-refile-targets
-   '((org-agenda-files :maxlevel . 4)))
+  ;;; the tag 'rt' means 'refile target'. I don't want this tag to be inherited, I set it explicitly.
+  (org-tags-exclude-from-inheritance '(rt))
+  (org-refile-targets '((org-agenda-files :tag . "rt")))
   (org-refile-allow-creating-parent-nodes (quote confirm))
 
   (org-hide-emphasis-markers t)
@@ -79,8 +80,12 @@
   ("C-c c" . org-capture)
   :config
   (setq org-capture-templates
-        `(("t" "Tasks" entry (file "inbox.org")
-	   "* TODO %?\n%U" :prepend t :empty-lines 0))))
+        `(("n" "Note" entry (file "notes.org")
+	   "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :empty-lines 1)
+	  ("j" "Journal" entry (file+olp+datetree "notes.org" "journal")
+	   "* %U %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :empty-lines 1 :tree-type month)
+	  ("t" "Tasks" entry (file "inbox.org")
+	   "* TODO %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t :empty-lines 1))))
 
 (use-package org-agenda
   :ensure nil