mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Playing around a bit with org-agenda.
This commit is contained in:
@@ -391,7 +391,6 @@ List of keybindings (SPC h b b)")
|
|||||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-directory "~/nc/Org/"
|
(setq org-directory "~/nc/Org/"
|
||||||
org-agenda-files '("~/nc/Org/agenda.org")
|
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
org-ellipsis " ▼ "
|
org-ellipsis " ▼ "
|
||||||
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
||||||
@@ -581,6 +580,41 @@ List of keybindings (SPC h b b)")
|
|||||||
;; Load our desired dt/org-colors-* theme on startup
|
;; Load our desired dt/org-colors-* theme on startup
|
||||||
(dt/org-colors-doom-one)
|
(dt/org-colors-doom-one)
|
||||||
|
|
||||||
|
(after! org
|
||||||
|
(setq org-agenda-files '("~/nc/Org/agenda.org")
|
||||||
|
;; 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))
|
||||||
|
org-agenda-block-separator 8411
|
||||||
|
))
|
||||||
|
(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
|
||||||
|
:defer t
|
||||||
|
:hook (org-mode . org-auto-tangle-mode)
|
||||||
|
:config
|
||||||
|
(setq org-auto-tangle-default t))
|
||||||
|
|
||||||
(use-package ox-man)
|
(use-package ox-man)
|
||||||
(use-package ox-gemini)
|
(use-package ox-gemini)
|
||||||
|
|
||||||
@@ -708,40 +742,6 @@ 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
|
|
||||||
:defer t
|
|
||||||
:hook (org-mode . org-auto-tangle-mode)
|
|
||||||
:config
|
|
||||||
(setq org-auto-tangle-default t))
|
|
||||||
|
|
||||||
(use-package! password-store)
|
(use-package! password-store)
|
||||||
|
|
||||||
(map! :leader
|
(map! :leader
|
||||||
|
|||||||
@@ -45,11 +45,11 @@
|
|||||||
- [[#open-specific-files][OPEN SPECIFIC FILES]]
|
- [[#open-specific-files][OPEN SPECIFIC FILES]]
|
||||||
- [[#org-mode][ORG MODE]]
|
- [[#org-mode][ORG MODE]]
|
||||||
- [[#org-fonts][Org fonts]]
|
- [[#org-fonts][Org fonts]]
|
||||||
|
- [[#org-agenda][Org-agenda]]
|
||||||
|
- [[#org-auto-tangle][Org-auto-tangle]]
|
||||||
- [[#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]]
|
|
||||||
- [[#password-store][PASSWORD STORE]]
|
- [[#password-store][PASSWORD STORE]]
|
||||||
- [[#perspective][PERSPECTIVE]]
|
- [[#perspective][PERSPECTIVE]]
|
||||||
- [[#rainbow-mode][RAINBOW MODE]]
|
- [[#rainbow-mode][RAINBOW MODE]]
|
||||||
@@ -800,7 +800,6 @@ I wrapped most of this block in (after! org). Without this, my settings might b
|
|||||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-directory "~/nc/Org/"
|
(setq org-directory "~/nc/Org/"
|
||||||
org-agenda-files '("~/nc/Org/agenda.org")
|
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
org-ellipsis " ▼ "
|
org-ellipsis " ▼ "
|
||||||
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
||||||
@@ -997,6 +996,50 @@ I have created an interactive function for each color scheme (M-x dt/org-colors-
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Org-agenda
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(after! org
|
||||||
|
(setq org-agenda-files '("~/nc/Org/agenda.org")
|
||||||
|
;; 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))
|
||||||
|
org-agenda-block-separator 8411
|
||||||
|
))
|
||||||
|
(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= allows you to add the option =#+auto_tangle: t= in your Org file so that it automatically tangles when you save the document.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package! org-auto-tangle
|
||||||
|
:defer t
|
||||||
|
:hook (org-mode . org-auto-tangle-mode)
|
||||||
|
:config
|
||||||
|
(setq org-auto-tangle-default t))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Org-export
|
** Org-export
|
||||||
We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting to gemtext (for the gemini protocol).
|
We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting to gemtext (for the gemini protocol).
|
||||||
|
|
||||||
@@ -1137,49 +1180,6 @@ 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= allows you to add the option =#+auto_tangle: t= in your Org file so that it automatically tangles when you save the document.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package! org-auto-tangle
|
|
||||||
:defer t
|
|
||||||
:hook (org-mode . org-auto-tangle-mode)
|
|
||||||
:config
|
|
||||||
(setq org-auto-tangle-default t))
|
|
||||||
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* PASSWORD STORE
|
* PASSWORD STORE
|
||||||
Uses the standard Unix password store "pass".
|
Uses the standard Unix password store "pass".
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user