diff --git a/emacs/.config/doom/+org.el b/emacs/.config/doom/+org.el index 9c930c3..6d95cb1 100644 --- a/emacs/.config/doom/+org.el +++ b/emacs/.config/doom/+org.el @@ -4,6 +4,7 @@ ;;; Commentary: ;;; Code: (setq +todo-file "~/org/inbox.org") +(setq +today-file "~/org/today.org") (after! org (setq org-directory (expand-file-name "~/org/") @@ -102,10 +103,15 @@ (interactive) "Opens the todo file" (find-file +todo-file)) +(defun +open-today-file () + (interactive) + "Opens the today file" + (find-file +today-file)) (map! :leader - :desc "Open inbox" "I" #'+open-todo-file) + :desc "Open inbox" "I" #'+open-todo-file + :desc "Open today" "T" #'+open-today-file) (defun +show-agenda () (interactive)