From 5ad1850a8004d609703bdd92d58f5bcc940a5168 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 2 Nov 2023 11:18:58 +0000 Subject: [PATCH] Update org-capture templates and add keymap to goto last captured --- home/emacs/modules/custom-org-config.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/home/emacs/modules/custom-org-config.el b/home/emacs/modules/custom-org-config.el index e65cd7da..e7ca0c6c 100644 --- a/home/emacs/modules/custom-org-config.el +++ b/home/emacs/modules/custom-org-config.el @@ -21,6 +21,7 @@ (keymap-set global-map "C-c o a" #'org-agenda) (keymap-set global-map "C-c o n" #'org-capture) +(keymap-set global-map "C-c o l" #'org-capture-goto-last-stored) (keymap-set global-map "C-c o c" #'org-goto-calendar) (keymap-set global-map "C-c o j j" #'org-journal-new-entry) (keymap-set global-map "C-c o j n" #'org-journal-new-date-entry) @@ -41,15 +42,15 @@ :prepend t :empty-lines 1) ("t" "Task" entry - (file+headline "todo.org" "Inbox") + (file "todo.org") "* TODO %?" :prepend t - :emptry-lines 1) + :empty-lines 1) ("T" "Task (with context)" entry - (file+headline "todo.org" "Inbox") + (file "todo.org") "* TODO %?\n%a\n%i" :prepend t - :emptry-lines 1) + :empty-lines 1) )) (setq khalel-import-org-file (expand-file-name "calendar.org" org-directory)