diff options
Diffstat (limited to 'home/dots')
-rw-r--r-- | home/dots/.emacs | 89 |
1 files changed, 45 insertions, 44 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs index 229af8a..cdc683d 100644 --- a/home/dots/.emacs +++ b/home/dots/.emacs @@ -793,49 +793,6 @@ (org-outline-path-complete-in-steps nil) (org-refile-use-outline-path 'file) (org-log-done 'time) - (org-capture-templates - '(("t" "Todo" - entry (file "~/personal-db/notes/todo.org") - "* TODO %?\n%i\n%a\n " - :empty-lines 1) - ("b" "Book" - entry (file+headline "~/personal-db/notes/refs.org" "Books") - "* %?\n:PROPERTIES:\n:AUTHOR:\n:STATE: unread\n:END:\n " - :empty-lines 1) - ("f" "Film" - entry (file+headline "~/personal-db/notes/concepts.org" "Films") - "* %?\n:PROPERTIES:\n:DIRECTOR:\n:STATE: unwatched\n:END:\n " - :empty-lines 1) - ("c" "Concept" - entry (file "~/personal-db/notes/concepts.org") - "* %?\n%i\n%a\n " - :empty-lines 1) - ("g" "Log Coffee" - entry (file+headline "~/personal-db/notes/log.org" "Log") - "* Brewed pour-over :coffee:\n:PROPERTIES:\n:WATER: 320g\n:COFFEE: 20g\n:ORIGIN:\n:NAME:\n:TEMP:\n:RATING:\n:PREHEAT: YES\n:END:\n%T\n*** Observations " - :empty-lines 0 - :prepend t) - ("r" "Reference" - entry (file "~/personal-db/notes/refs.org") - "* %?\n%i\n%a\n " - :empty-lines 1) - ("s" "Schedule" - entry (file "~/personal-db/notes/reminders.org") - "* TODO %?\nSCHEDULED: %^T" - :empty-lines 1) - ("a" "Article" - entry (file+headline "~/personal-db/notes/refs.org" "Articles") - "* %?\n:PROPERTIES:\n:author:\n:END:\n " - :empty-lines 1) - ("l" "Log" - entry (file+headline "~/personal-db/notes/log.org" "Log") - "** %?\n%T" - :prepend t - :empty-lines 0) - ("n" "Inbox" - entry (file "~/personal-db/notes/inbox.org") - "* %?\n%U\n" - :empty-lines 1))) :init (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (org-babel-do-load-languages @@ -876,8 +833,52 @@ (("C-c l" . org-link))) (use-package org-capture + :custom + (org-capture-templates + '(("t" "Todo" + entry (file "~/personal-db/notes/todo.org") + "* TODO %?\n%i\n%a\n " + :empty-lines 1) + ("b" "Book" + entry (file+headline "~/personal-db/notes/refs.org" "Books") + "* %?\n:PROPERTIES:\n:AUTHOR:\n:STATE: unread\n:END:\n " + :empty-lines 1) + ("f" "Film" + entry (file+headline "~/personal-db/notes/concepts.org" "Films") + "* %?\n:PROPERTIES:\n:DIRECTOR:\n:STATE: unwatched\n:END:\n " + :empty-lines 1) + ("c" "Concept" + entry (file "~/personal-db/notes/concepts.org") + "* %?\n%i\n%a\n " + :empty-lines 1) + ("g" "Log Coffee" + entry (file+headline "~/personal-db/notes/log.org" "Log") + "* Brewed pour-over :coffee:\n:PROPERTIES:\n:WATER: 320g\n:COFFEE: 20g\n:ORIGIN:\n:NAME:\n:TEMP:\n:RATING:\n:PREHEAT: YES\n:END:\n%T\n*** Observations " + :empty-lines 0 + :prepend t) + ("r" "Reference" + entry (file "~/personal-db/notes/refs.org") + "* %?\n%i\n%a\n " + :empty-lines 1) + ("s" "Schedule" + entry (file "~/personal-db/notes/reminders.org") + "* TODO %?\nSCHEDULED: %^T" + :empty-lines 1) + ("a" "Article" + entry (file+headline "~/personal-db/notes/refs.org" "Articles") + "* %?\n:PROPERTIES:\n:author:\n:END:\n " + :empty-lines 1) + ("l" "Log" + entry (file+headline "~/personal-db/notes/log.org" "Log") + "** %?\n%T" + :prepend t + :empty-lines 0) + ("n" "Inbox" + entry (file "~/personal-db/notes/inbox.org") + "* %?\n%U\n" + :empty-lines 1))) :bind - (("C-c l" . org-capture))) + (("C-c c" . org-capture))) (defun org-agenda-switch-to-narrowed-subtree () (interactive) |