Disable org capture templates and custom agenda commands
This commit is contained in:
parent
8ffee04342
commit
43cc8528f6
@ -134,75 +134,75 @@
|
|||||||
(apply orig-fun extension subtreep pub-dir nil))
|
(apply orig-fun extension subtreep pub-dir nil))
|
||||||
(advice-add 'org-export-output-file-name :around #'org-export-output-file-name-modified)
|
(advice-add 'org-export-output-file-name :around #'org-export-output-file-name-modified)
|
||||||
|
|
||||||
(setq org-capture-templates
|
;; (setq org-capture-templates
|
||||||
'(("t" "Personal todo" entry
|
;; '(("t" "Personal todo" entry
|
||||||
(file+headline +org-capture-todo-file "Inbox")
|
;; (file+headline +org-capture-todo-file "Inbox")
|
||||||
"* TODO %? :@general:" :prepend t)
|
;; "* TODO %? :@general:" :prepend t)
|
||||||
|
|
||||||
("f" "Empty" entry
|
;; ("f" "Empty" entry
|
||||||
(file+headline +org-capture-todo-file "Inbox")
|
;; (file+headline +org-capture-todo-file "Inbox")
|
||||||
"* TODO %?" :prepend t)
|
;; "* TODO %?" :prepend t)
|
||||||
|
|
||||||
("w" "WATCH" entry
|
;; ("w" "WATCH" entry
|
||||||
(file+headline +org-capture-todo-file "Inbox")
|
;; (file+headline +org-capture-todo-file "Inbox")
|
||||||
"* TODO %? :@watch:" :prepend t)
|
;; "* TODO %? :@watch:" :prepend t)
|
||||||
|
|
||||||
("r" "READ" entry
|
;; ("r" "READ" entry
|
||||||
(file+headline +org-capture-todo-file "Inbox")
|
;; (file+headline +org-capture-todo-file "Inbox")
|
||||||
"* TODO %? :@read:" :prepend t)
|
;; "* TODO %? :@read:" :prepend t)
|
||||||
|
|
||||||
("c" "CHECK" entry
|
;; ("c" "CHECK" entry
|
||||||
(file+headline +org-capture-todo-file "Inbox")
|
;; (file+headline +org-capture-todo-file "Inbox")
|
||||||
"* TODO %? :@check:" :prepend t)
|
;; "* TODO %? :@check:" :prepend t)
|
||||||
|
|
||||||
("i" "Got a new idea?" entry
|
;; ("i" "Got a new idea?" entry
|
||||||
(file+headline +org-capture-todo-file "Inbox")
|
;; (file+headline +org-capture-todo-file "Inbox")
|
||||||
"* TODO %? :@idea:" :prepend t)
|
;; "* TODO %? :@idea:" :prepend t)
|
||||||
|
|
||||||
("j" "Journal" entry
|
;; ("j" "Journal" entry
|
||||||
(file+headline +org-capture-journal-file "Posts")
|
;; (file+headline +org-capture-journal-file "Posts")
|
||||||
"*** %?\n:DATE:\n%<[%Y-%m-%d %a %H:%M]>\n:END:" :prepend t)))
|
;; "*** %?\n:DATE:\n%<[%Y-%m-%d %a %H:%M]>\n:END:" :prepend t)))
|
||||||
|
|
||||||
(setq org-agenda-custom-commands
|
;; (setq org-agenda-custom-commands
|
||||||
'(
|
;; '(
|
||||||
("f" "Today Tasks"
|
;; ("f" "Today Tasks"
|
||||||
(
|
;; (
|
||||||
(agenda "" ((org-agenda-span 4)))
|
;; (agenda "" ((org-agenda-span 4)))
|
||||||
(org-ql-block '(and
|
;; (org-ql-block '(and
|
||||||
(todo "TODO")
|
;; (todo "TODO")
|
||||||
(or (scheduled)
|
;; (or (scheduled)
|
||||||
(deadline)))
|
;; (deadline)))
|
||||||
((org-ql-block-header "Soon")))
|
;; ((org-ql-block-header "Soon")))
|
||||||
))
|
;; ))
|
||||||
|
|
||||||
("v" "General Tasks"
|
;; ("v" "General Tasks"
|
||||||
(
|
;; (
|
||||||
(agenda "" ((org-agenda-span 4)))
|
;; (agenda "" ((org-agenda-span 4)))
|
||||||
(org-ql-block '(and
|
;; (org-ql-block '(and
|
||||||
(priority "A")
|
;; (priority "A")
|
||||||
(not (deadline))
|
;; (not (deadline))
|
||||||
(not (scheduled)))
|
;; (not (scheduled)))
|
||||||
((org-ql-block-header "High-priority tasks")))
|
;; ((org-ql-block-header "High-priority tasks")))
|
||||||
|
|
||||||
(org-ql-block '(and
|
;; (org-ql-block '(and
|
||||||
(todo "TODO")
|
;; (todo "TODO")
|
||||||
(tags "@idea")
|
;; (tags "@idea")
|
||||||
(not (tags "@later"))
|
;; (not (tags "@later"))
|
||||||
(not (deadline))
|
;; (not (deadline))
|
||||||
(not (scheduled)))
|
;; (not (scheduled)))
|
||||||
((org-ql-block-header "Looking for an idea?")))
|
;; ((org-ql-block-header "Looking for an idea?")))
|
||||||
|
|
||||||
(org-ql-block '(and
|
;; (org-ql-block '(and
|
||||||
(todo "TODO")
|
;; (todo "TODO")
|
||||||
(tags "@write")
|
;; (tags "@write")
|
||||||
(not (tags "@later"))
|
;; (not (tags "@later"))
|
||||||
(not (tags "project"))
|
;; (not (tags "project"))
|
||||||
(not (deadline))
|
;; (not (deadline))
|
||||||
(not (scheduled)))
|
;; (not (scheduled)))
|
||||||
((org-ql-block-header "Write something:")))
|
;; ((org-ql-block-header "Write something:")))
|
||||||
|
|
||||||
(org-roam-ql-agenda-block '(and (todo "TODO")))
|
;; (org-roam-ql-agenda-block '(and (todo "TODO")))
|
||||||
))))
|
;; ))))
|
||||||
)
|
)
|
||||||
;; -OrgPac
|
;; -OrgPac
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user