mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #598 from ar1a/patch-agenda-span
lang/org Make agenda view span 10 days
This commit is contained in:
@ -122,7 +122,13 @@ unfold to point on startup."
|
|||||||
org-agenda-dim-blocked-tasks nil
|
org-agenda-dim-blocked-tasks nil
|
||||||
org-agenda-files (ignore-errors (directory-files +org-dir t "\\.org$" t))
|
org-agenda-files (ignore-errors (directory-files +org-dir t "\\.org$" t))
|
||||||
org-agenda-inhibit-startup t
|
org-agenda-inhibit-startup t
|
||||||
org-agenda-skip-unavailable-files t))
|
org-agenda-skip-unavailable-files t)
|
||||||
|
;; Move the agenda to show the previous 3 days and the next 7 days for a bit
|
||||||
|
;; better context instead of just the current week which is a bit confusing
|
||||||
|
;; on, for example, a sunday
|
||||||
|
(setq org-agenda-span 10
|
||||||
|
org-agenda-start-on-weekday nil
|
||||||
|
org-agenda-start-day "-3d"))
|
||||||
|
|
||||||
(defun +org|setup-ui ()
|
(defun +org|setup-ui ()
|
||||||
"Configures the UI for `org-mode'."
|
"Configures the UI for `org-mode'."
|
||||||
|
Reference in New Issue
Block a user