Open org-agenda in current window, import calendar events on refresh
This commit is contained in:
parent
34d1fea00c
commit
3ab4ecfde8
|
@ -40,7 +40,8 @@
|
|||
("d" ("+deleted" "-inbox" "-unread") "Delete")))
|
||||
|
||||
(when (require 'notmuch-indicator nil :noerror)
|
||||
(setq notmuch-indicator-args '((:terms "tag:unread AND tag:inbox" :label " "))
|
||||
(setq notmuch-indicator-refresh-count 60
|
||||
notmuch-indicator-args '((:terms "tag:unread AND tag:inbox" :label " "))
|
||||
notmuch-indicator-force-refresh-commands '(notmuch-refresh-this-buffer
|
||||
notmuch-refresh-all-buffers
|
||||
notmuch-poll-and-refresh-this-buffer))
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
org-journal-file-format "%Y%m%d.org"
|
||||
org-agenda-files '("~/Org/")
|
||||
org-agenda-sticky t
|
||||
org-agenda-window-setup 'current-window
|
||||
org-agenda-prefix-format '((agenda . " %i %t %s")
|
||||
(todo . " %i")
|
||||
(tags . " %i")
|
||||
|
@ -50,10 +51,12 @@
|
|||
))
|
||||
|
||||
(when (require 'khalel nil :noerror)
|
||||
(setq khalel-import-org-file-read-only nil
|
||||
khalel-import-org-file (expand-file-name "calendar.org" org-directory)
|
||||
(setq khalel-import-org-file (expand-file-name "calendar.org" org-directory)
|
||||
khalel-import-org-file-read-only nil
|
||||
khalel-import-org-file-confirm-overwrite nil
|
||||
khalel-import-start-date "-30d"
|
||||
khalel-import-end-date "+30d")
|
||||
(add-hook 'org-agenda-mode-hook #'khalel-import-events)
|
||||
(khalel-add-capture-template "e"))
|
||||
|
||||
(provide 'custom-org-config)
|
||||
|
|
Loading…
Reference in a new issue