Various org improvements

This commit is contained in:
Benson Chu 2022-10-28 16:27:52 -05:00
parent 1c5f1a2409
commit 62e6f194a2
2 changed files with 9 additions and 4 deletions

View file

@ -34,6 +34,7 @@
(setq org-agenda-skip-scheduled-if-deadline-is-shown t)
(setq org-src-window-setup 'current-window)
(setq org-agenda-window-setup 'other-window)
(setq org-list-allow-alphabetical t)
(setq org-todo-repeat-to-state t)

View file

@ -48,10 +48,14 @@
(when (or (null my/current-logger-cache) (equal arg '(16)))
(setq my/current-logger-cache
(org-roam-node-read nil my/org-roam-logger-filter-fun)))
(org-roam-capture-
:goto (when (equal arg '(4)) arg)
:node my/current-logger-cache
:templates my/org-roam-logger-templates))
(if (equal arg '(4))
(-> my/current-logger-cache
(org-roam-node-file)
(find-file-noselect)
(pop-to-buffer-same-window))
(org-roam-capture-
:node my/current-logger-cache
:templates my/org-roam-logger-templates)))
(provide 'my-org-roam-logger)
;;; my-org-roam-logger.el ends here