diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-08-24 11:37:10 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-08-24 11:37:10 -0700 |
commit | f1c10cd377fbcab33db16c4ccf964354863a2238 (patch) | |
tree | d9bc13bb28ccea6de6c6f450170b8eb7bd3269d8 /emacs | |
parent | [emacs] don't stretch cursor on tabs (diff) | |
download | emacs.d-f1c10cd377fbcab33db16c4ccf964354863a2238.tar.gz |
[org] set default file for inbox
small change to the capture template
Diffstat (limited to '')
-rw-r--r-- | emacs.d/custom/fcuny-org.el | 13 |
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) |