mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
Playing around a bit with org-agenda.
This commit is contained in:
parent
f5786cb3fb
commit
0f425f3311
2 changed files with 60 additions and 0 deletions
|
@ -708,6 +708,34 @@ List of keybindings (SPC h b b)")
|
||||||
|
|
||||||
))
|
))
|
||||||
|
|
||||||
|
(after! org
|
||||||
|
(setq
|
||||||
|
;; org-fancy-priorities-list '("❗" "[B]" "▰")
|
||||||
|
;; org-fancy-priorities-list '("⬆" "↕" "⬇")
|
||||||
|
org-fancy-priorities-list '("🟥" "🟧" "🟨")
|
||||||
|
org-priority-faces
|
||||||
|
'((?A :foreground "#ff6c6b" :weight bold)
|
||||||
|
(?B :foreground "#98be65" :weight bold)
|
||||||
|
(?C :foreground "#c678dd" :weight bold))
|
||||||
|
))
|
||||||
|
(setq org-agenda-custom-commands
|
||||||
|
'(("v" "A better agenda view"
|
||||||
|
((tags "PRIORITY=\"A\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "High-priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"B\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Medium-priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"C\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Low-priority unfinished tasks:")))
|
||||||
|
(tags "customtag"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Tasks with customtag tag:")))
|
||||||
|
|
||||||
|
(agenda "")
|
||||||
|
(alltodo "")))))
|
||||||
|
|
||||||
(use-package! org-auto-tangle
|
(use-package! org-auto-tangle
|
||||||
:defer t
|
:defer t
|
||||||
:hook (org-mode . org-auto-tangle-mode)
|
:hook (org-mode . org-auto-tangle-mode)
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
- [[#org-export][Org-export]]
|
- [[#org-export][Org-export]]
|
||||||
- [[#org-journal][Org-journal]]
|
- [[#org-journal][Org-journal]]
|
||||||
- [[#org-publish][Org-publish]]
|
- [[#org-publish][Org-publish]]
|
||||||
|
- [[#org-agenda][Org-agenda]]
|
||||||
- [[#org-auto-tangle][Org-auto-tangle]]
|
- [[#org-auto-tangle][Org-auto-tangle]]
|
||||||
- [[#password-store][PASSWORD STORE]]
|
- [[#password-store][PASSWORD STORE]]
|
||||||
- [[#perspective][PERSPECTIVE]]
|
- [[#perspective][PERSPECTIVE]]
|
||||||
|
@ -1136,6 +1137,37 @@ We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting
|
||||||
))
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Org-agenda
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! org
|
||||||
|
(setq
|
||||||
|
;; org-fancy-priorities-list '("❗" "[B]" "▰")
|
||||||
|
;; org-fancy-priorities-list '("⬆" "↕" "⬇")
|
||||||
|
org-fancy-priorities-list '("🟥" "🟧" "🟨")
|
||||||
|
org-priority-faces
|
||||||
|
'((?A :foreground "#ff6c6b" :weight bold)
|
||||||
|
(?B :foreground "#98be65" :weight bold)
|
||||||
|
(?C :foreground "#c678dd" :weight bold))
|
||||||
|
))
|
||||||
|
(setq org-agenda-custom-commands
|
||||||
|
'(("v" "A better agenda view"
|
||||||
|
((tags "PRIORITY=\"A\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "High-priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"B\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Medium-priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"C\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Low-priority unfinished tasks:")))
|
||||||
|
(tags "customtag"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Tasks with customtag tag:")))
|
||||||
|
|
||||||
|
(agenda "")
|
||||||
|
(alltodo "")))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Org-auto-tangle
|
** Org-auto-tangle
|
||||||
=org-auto-tangle= allows you to add the option =#+auto_tangle: t= in your Org file so that it automatically tangles when you save the document.
|
=org-auto-tangle= allows you to add the option =#+auto_tangle: t= in your Org file so that it automatically tangles when you save the document.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue