summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-11-14 11:18:24 +0200
committerMarc Coquand <marc@mccd.space>2024-11-14 11:18:24 +0200
commit1f9402af6c56e772bdc41f1235e5fbb32c092451 (patch)
tree282f2a8924d292f8adc41c43621f33adb3cf8462 /home
parent5a36268deea891c849bf30a409af0da133cab4d9 (diff)
downloadguix-1f9402af6c56e772bdc41f1235e5fbb32c092451.tar.gz
guix-1f9402af6c56e772bdc41f1235e5fbb32c092451.tar.bz2
guix-1f9402af6c56e772bdc41f1235e5fbb32c092451.zip
.
Diffstat (limited to '')
-rw-r--r--home/dots/.emacs89
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)