diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 9dbad99..7db2e44 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0701.185951 +;; Version: 2021.0705.232822 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti) ;; This program is free software; you can redistribute it and/or modify @@ -511,23 +511,22 @@ After running it once remove it from `org-capture-after-finalize-hook'." (format "[[%s][%s]]" url title))) (setq org-capture-templates - `(("i" "Inbox" entry (file "") + `(("i" "Inbox" entry (file ,(oni-org-expand-to-home "documents/gtd/inbox.org")) (file ,(expand-file-name "inbox.org" oni-org-capture-template-directory))) - ("I" "Inbox (add selection)" entry (file "") + ("I" "Inbox (add selection)" entry (file ,(oni-org-expand-to-home "documents/gtd/inbox.org")) (file ,(expand-file-name "inbox-with-selection.org" oni-org-capture-template-directory))) - ("t" "Task" entry (file "") + ("t" "Task" entry (file ,(oni-org-expand-to-home "documents/gtd/inbox.org")) (file ,(expand-file-name "task.org" oni-org-capture-template-directory))) ("a" "Appointment" entry (file "") (file ,(expand-file-name "appointment.org" oni-org-capture-template-directory))) - ("u" "URL to read" entry (file "") + ("u" "URL to read" entry (file ,(oni-org-expand-to-home "documents/gtd/inbox.org")) (file ,(expand-file-name "reading-url.org" oni-org-capture-template-directory)) :immediate-finish t) - ("U" "URL to read" entry (file "") + ("U" "URL to read" entry (file ,(expand-file-name "documents/gtd/inbox.org")) (file ,(expand-file-name "reading-url-protocol.org" oni-org-capture-template-directory)) :immediate-finish t) ("j" "Journal entry" entry - (file+olp+datetree - ,(oni-org-expand-to-home "documents/gtd/journal.org")) + (file+olp+datetree ,(oni-org-expand-to-home "documents/gtd/journal.org")) (file ,(expand-file-name "journal.org" oni-org-capture-template-directory))) ("n" "Reading note" item (function oni-org-reading-note) (file ,(expand-file-name "reading-note.org" oni-org-capture-template-directory))