Update capture templates, move into use-package definition
This commit is contained in:
parent
c8d63d192b
commit
5574ef86f3
40
init.el
40
init.el
|
@ -687,32 +687,24 @@ Try `magit-clone-default-directory' if available, fall back to
|
||||||
(add-hook 'org-mode-hook #'(lambda () (org-indent-mode +1))))
|
(add-hook 'org-mode-hook #'(lambda () (org-indent-mode +1))))
|
||||||
|
|
||||||
(keymap-global-set "C-c o ." #'calendar)
|
(keymap-global-set "C-c o ." #'calendar)
|
||||||
(keymap-global-set "C-c o e" #'org-edit-src-code)
|
|
||||||
(keymap-global-set "C-c o a" #'org-agenda)
|
(keymap-global-set "C-c o a" #'org-agenda)
|
||||||
(keymap-global-set "C-c o n" #'org-capture)
|
|
||||||
(keymap-global-set "C-c o l" #'org-capture-goto-last-stored)
|
|
||||||
|
|
||||||
(setq org-capture-templates
|
(use-package org-capture
|
||||||
'(("n" "Note" entry
|
:after org
|
||||||
(file+olp+datetree "notes.org" "Inbox")
|
:bind
|
||||||
"* %?")
|
(("C-c o n" . org-capture)
|
||||||
("t" "Task" entry
|
("C-c o l" . org-capture-goto-last-stored))
|
||||||
(file+olp+datetree "tasks.org" "Inbox")
|
:custom
|
||||||
"* TODO [#B] %?")
|
(org-capture-templates '(("n" "Note" entry
|
||||||
("r" "Reading List" entry
|
(file+olp+datetree "notes.org" "Inbox")
|
||||||
(file+olp+datetree "reading.org" "Inbox")
|
"* %?")
|
||||||
"* %?")
|
("t" "Task" entry
|
||||||
("d" "Diary Event" entry
|
(file+olp+datetree "tasks.org" "Inbox")
|
||||||
(file+datetree "diary.org")
|
"* TODO [#B] %?")
|
||||||
"* %?\n%^T")
|
("r" "Reading List" entry
|
||||||
("m" "Email Workflow")
|
(file+olp+datetree "reading.org" "Inbox")
|
||||||
("mf" "Follow Up" entry
|
"* %?")
|
||||||
(file+olp+datetree "tasks.org" "Inbox")
|
)))
|
||||||
"* TODO Follow up with %:fromname on %a :email:\nDEADLINE: %^{deadline}t\n\n%i")
|
|
||||||
("mr" "Read Later" entry
|
|
||||||
(file+olp+datetree "reading.org" "Inbox")
|
|
||||||
"* TODO Read %:subject :email:\nSCHEDULED: %^{scheduled}t\n\n%i")
|
|
||||||
))
|
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:after org
|
:after org
|
||||||
|
|
Loading…
Reference in a new issue