[emacs] Add shortcut to today daily page

This commit is contained in:
2023-02-09 10:23:40 -05:00
parent 20473f7bbc
commit 305518e9cd
2 changed files with 4 additions and 4 deletions

View File

@ -140,8 +140,7 @@
(load! "+agenda-fix")
(defun vulpea-agenda-files-update (&rest _)
"Update the value of `org-agenda-files'."
(setq org-agenda-files (append (vulpea-project-files) '("~/src/code.unbl.ink/vrobbler/todos.org"))))
(setq org-agenda-files vulpea-project-files))
(advice-add 'org-agenda :before #'vulpea-agenda-files-update)
(advice-add 'org-todo-list :before #'vulpea-agenda-files-update)
@ -178,6 +177,7 @@
(map!
:leader
:desc "Open inbox" "I" #'+open-inbox-file
:desc "Open today" "d" #'org-roam-dailies-goto-today
:desc "Save all org buffers" "A" #'org-save-all-org-buffers)
(setq org-roam-directory "~/var/org/")

View File

@ -210,8 +210,7 @@ This uses the super helpful "vulpea" module.
#+BEGIN_SRC emacs-lisp
(load! "+agenda-fix")
(defun vulpea-agenda-files-update (&rest _)
"Update the value of `org-agenda-files'."
(setq org-agenda-files (append (vulpea-project-files) '("~/src/code.unbl.ink/vrobbler/todos.org"))))
(setq org-agenda-files vulpea-project-files))
(advice-add 'org-agenda :before #'vulpea-agenda-files-update)
(advice-add 'org-todo-list :before #'vulpea-agenda-files-update)
@ -254,6 +253,7 @@ Inbox file and a quick way to save all open org mode files.
(map!
:leader
:desc "Open inbox" "I" #'+open-inbox-file
:desc "Open today" "d" #'org-roam-dailies-goto-today
:desc "Save all org buffers" "A" #'org-save-all-org-buffers)
#+END_SRC