summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-08-24 11:37:10 -0700
committerFranck Cuny <fcuny@twitter.com>2019-08-24 11:37:10 -0700
commitf1c10cd377fbcab33db16c4ccf964354863a2238 (patch)
treed9bc13bb28ccea6de6c6f450170b8eb7bd3269d8 /emacs.d/custom
parent[emacs] don't stretch cursor on tabs (diff)
downloademacs.d-f1c10cd377fbcab33db16c4ccf964354863a2238.tar.gz
[org] set default file for inbox
small change to the capture template
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-org.el13
1 files changed, 5 insertions, 8 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index 4a14663..385394b 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -35,7 +35,8 @@
 
   (org-startup-indented t)
   (org-directory (expand-file-name "~/Documents/notebooks"))
-  (org-default-notes-file (concat org-directory "/inbox.org"))
+  (org-default-inbox-file (concat org-directory "/gtd.org"))
+  (org-default-notes-file (concat org-directory "/gtd.org"))
   (org-agenda-start-on-weekday 1)
   (org-tags-column -120)
 
@@ -130,13 +131,9 @@
       (file ,(concat fcuny/path-emacs-etc "/interview.org"))
       :tree-type week)
 
-     ;; refile!
-     ("t" "Todo" entry
-      (file+headline ,(concat org-directory "/inbox.org") "Task")
-      "* TODO [#4] %? %^G\n:PROPERTIES:\n:Created: %U\n:END:")
-     ("i" "Inbox, refile later" entry
-      (file+headline ,(concat org-directory "/inbox.org") "Review")
-      "* %?\n:PROPERTIES:\n:Created: %U\n:END:"))))
+     ("t" "task entry" entry
+      (file ,org-default-inbox-file
+      "* TODO [#4] %? %^G\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n%i\n\nfrom: %a"))))
 
 (use-package htmlize
   :ensure t)