diff options
author | noa@gaiwan.org | 2024-06-13 10:38:02 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-13 10:38:02 +0000 |
commit | b6f78f76ebef884a48d186509ca7a15ea2e2388d (patch) | |
tree | 75e9169bd0de2e6435250cf6152a811c84751571 /emacs/init.el | |
parent | 0825fd1f937ce96c3b70b22f12fd817b82c59beb (diff) |
Add configuration for org-capture
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 11 |
1 files changed, 5 insertions, 6 deletions
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 |