1
0
Fork 0

[oni-org] Capture most output into my inbox file

This commit is contained in:
Tom Willemse 2021-07-05 23:28:36 -07:00
parent b80c4f4321
commit a37f274ce8

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; 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))) (format "[[%s][%s]]" url title)))
(setq org-capture-templates (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))) (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))) (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))) (file ,(expand-file-name "task.org" oni-org-capture-template-directory)))
("a" "Appointment" entry (file "") ("a" "Appointment" entry (file "")
(file ,(expand-file-name "appointment.org" oni-org-capture-template-directory))) (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)) (file ,(expand-file-name "reading-url.org" oni-org-capture-template-directory))
:immediate-finish t) :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)) (file ,(expand-file-name "reading-url-protocol.org" oni-org-capture-template-directory))
:immediate-finish t) :immediate-finish t)
("j" "Journal entry" entry ("j" "Journal entry" entry
(file+olp+datetree (file+olp+datetree ,(oni-org-expand-to-home "documents/gtd/journal.org"))
,(oni-org-expand-to-home "documents/gtd/journal.org"))
(file ,(expand-file-name "journal.org" oni-org-capture-template-directory))) (file ,(expand-file-name "journal.org" oni-org-capture-template-directory)))
("n" "Reading note" item (function oni-org-reading-note) ("n" "Reading note" item (function oni-org-reading-note)
(file ,(expand-file-name "reading-note.org" oni-org-capture-template-directory)) (file ,(expand-file-name "reading-note.org" oni-org-capture-template-directory))