diff options
Diffstat (limited to 'emacs/.emacs.d/init/ycp-org.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-org.el | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el index db29697..2d40c37 100644 --- a/emacs/.emacs.d/init/ycp-org.el +++ b/emacs/.emacs.d/init/ycp-org.el @@ -170,11 +170,14 @@ (setq org-agenda-skip-deadline-if-done nil) (setq org-agenda-skip-scheduled-if-done nil) (setq org-agenda-skip-timestamp-if-done t) - (setq org-agenda-start-on-weekday 6) + (setq org-agenda-start-on-weekday nil) (setq org-agenda-custom-commands `(("A" "Agenda and next" ((agenda "" - ((org-agenda-span 'week))) + ((org-agenda-span 'week) + ;; only works when `org-agenda-start-on-weekday' + ;; is nil + (org-agenda-start-day "-2d"))) (tags-todo "PRIORITY=\"A\"" nil)) nil ,(my-get-from-local my-org-agenda-and-next-export-files)) @@ -206,22 +209,27 @@ (my-package org-capture (my-override org-capture-set-plist) (setq org-capture-templates - `(("j" "Journal" entry + `(("w" "Today's work" checkitem + (file+headline org-default-notes-file "Today's work") + "- [ ] %a%?" + :prepend t) + ("j" "Journal" entry (file+olp+datetree ,(my-get-from-local my-org-journal-file)) - "* %^{Title} + "* %? :PROPERTIES: :CREATED: %U :END: - -%?") +") ("t" "Todo" entry (file+headline org-default-notes-file "Inbox") - "* TODO %a%? + "* TODO %? :PROPERTIES: :CREATED: %U +:Referral: %a :END: -%i" +%i +" :prepend t) ("ya" "Blank audio" entry (file+headline org-default-notes-file "Audios") |