Minor org changes

This commit is contained in:
Benson Chu 2021-01-18 19:23:59 -06:00
parent a7844dfcfe
commit a778d5c7c7
3 changed files with 4 additions and 12 deletions

View file

@ -186,7 +186,7 @@
(org-edna-load)
#+end_src
** org-brain
#+begin_src emacs-lisp
#+begin_src
(use-package org-brain :ensure t
:init
(global-set-key (kbd "M-'") 'org-brain-visualize)
@ -503,13 +503,6 @@
;; (pop org-drill-card-type-alist)
#+end_src
* Plan module
#+begin_src emacs-lisp
(add-to-list 'org-capture-templates
`("P" "The Plan" entry (file+headline ,(my/agenda-file "dev.org") "The plan")
(file ,(my/org-file "templates/daily-plan.org"))))
#+end_src
* Insert inactive timestamp after last org-datetree--find-create
#+begin_src emacs-lisp
(defun org-datetree--find-create-add-timestamp (regex-template year &optional month day insert)
@ -642,7 +635,6 @@
:after org
:hook
(after-init . org-roam-mode)
:straight (:host github :repo "jethrokuan/org-roam" :branch "develop")
:custom
(org-roam-directory "~/big_files/MEGA/org/org-roam/")
:bind (:map org-roam-mode-map

View file

@ -124,7 +124,7 @@
((org-agenda-tag-filter-preset (quote ("+dev")))
(org-super-agenda-groups '((:name "The Plan" :tag "PLAN")
(:name "Overdue" :and (:deadline past :log nil))
(:name "Upcoming" :deadline future)
(:name "Upcoming" :and (:not (:scheduled today) :deadline future))
(:name "Should do" :and (:scheduled past :log nil))
(:name "Today" :time-grid t
:and (:not (:and (:not (:scheduled today)
@ -153,7 +153,7 @@
(outline-next-heading))))
(org-super-agenda-groups '((:name "The Plan" :and (:tag "PLAN" :log nil) )
(:name "Overdue" :and (:deadline past :log nil))
(:name "Upcoming" :deadline future)
(:name "Upcoming" :and (:deadline future :not (:todo "DONE")))
(:name "Should do" :and (:scheduled past :log nil))
(:name "Today" :time-grid t
:and (:not (:and (:not (:scheduled today)

View file

@ -27,7 +27,7 @@
(setq org-agenda-skip-deadline-if-done t
org-agenda-skip-scheduled-if-done t
org-agenda-skip-deadline-prewarning-if-scheduled t)
org-agenda-skip-deadline-prewarning-if-scheduled 7)
(setq org-agenda-start-on-weekday 6)
(setq org-tags-match-list-sublevels 'indented)