- (("C-c c" . org-capture)
- ("C-c l" . org-store-link))
- :custom
- (org-default-notes-file "~/Nextcloud/notes/inbox.org")
- (org-agenda-files `(,org-default-notes-file))
- (org-capture-bookmark nil)
- ;; Capture templates
- (org-capture-templates
- '(("f" "Fleeting note" item
- (file+headline org-default-notes-file "Notes")
- "- %?\nEntered on %U\n %i\n %a")
- ("p" "Permanent note" plain
- (file denote-last-path)
- #'denote-org-capture
- :no-save t
- :immediate-finish nil
- :kill-buffer t
- :jump-to-captured t)
- ("t" "New task" entry
- (file+headline org-default-notes-file "Tasks")
- "* TODO %i%?")))
+ (("C-c c" . org-capture)
+ ("C-c l" . org-store-link)
+ ("C-c a" . org-agenda))
+ :custom
+ (org-default-notes-file "~/Nextcloud/notes/inbox.org")
+ (org-agenda-files `(,org-default-notes-file "~/Nextcloud/notes/calendar.org"))
+ (org-capture-bookmark nil)
+ ;; Capture templates
+ (org-capture-templates
+ '(("f" "Fleeting note" item
+ (file+headline org-default-notes-file "Notes")
+ "* %?\nEntered on %U\n %i\n %a")
+ ("b" "Tax receipt" item
+ (file "~/Documents/belastingen/FY24-25.org")
+ "* %t %a\n")
+ ("p" "Permanent note" plain
+ (file denote-last-path)
+ #'denote-org-capture
+ :no-save t
+ :immediate-finish nil
+ :kill-buffer t
+ :jump-to-captured t)
+ ("t" "New task" entry
+ (file+headline org-default-notes-file "Tasks")
+ "* TODO %i%?")
+ ("e" "Email follow-up" entry (file+headline org-default-notes-file "Tasks")
+ "* TODO %:fromname: %a %?\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))")))
+ ;; Agenda views
+ (org-agenda-custom-commands
+ '(("P" "Expired calendar events" ((tags "TIMESTAMP<=\"<now>\"")))
+ ("n" "Agenda and all TODOs" ((agenda "") (alltodo "")))))