From b6f78f76ebef884a48d186509ca7a15ea2e2388d Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Thu, 13 Jun 2024 10:38:02 +0000 Subject: Add configuration for org-capture --- emacs/init.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index fa57eec..f527e11 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -227,12 +227,8 @@ and when JID is not in `jabber-activity-banned'." (org-log-done 'time) (org-return-follows-link t) (org-agenda-files '("~/data/notes/notes.org")) - (org-capture-templates - `( - ("j" "Journal" entry (file+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1) - - ) - ) + (org-capture-templates `(("j" "Journal" entry (file+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1) + ("w" "Website" entry (file+datetree "~/dates/notes/notes.org") "* %?\n%a\n" :empty-lines 1))) (org-agenda-tags-column t) (org-agenda-block-separator ?─) @@ -245,6 +241,9 @@ and when JID is not in `jabber-activity-banned'." :custom-face ;;(org-ellipsis ((t (:inherit default :box nil)))) + + :bind (("C-c c" . org-capture) + ("C-c a" . org-agenda)) ) (use-package org-modern -- cgit 1.4.1-2-gfad0