mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Various org improvements
This commit is contained in:
parent
1c5f1a2409
commit
62e6f194a2
2 changed files with 9 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue