1
0
Fork 0

[oni-org-roam] Display org-roam buffer in side window

This commit is contained in:
Tom Willemse 2022-11-22 23:14:44 -08:00
parent 6793848975
commit ce285a51d6

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2022.0921.234248
;; Version: 2022.1122.231427
;; Package-Requires: (oni-org org-roam)
;; This program is free software; you can redistribute it and/or modify
@ -66,6 +66,13 @@
(and (not (null state))
(not (string= state "FINISHED")))))
(add-to-list 'display-buffer-alist
`(,(rx string-start "*org-roam*" string-end)
display-buffer-in-side-window
(side . right)
(slot . 0)
(window-width . 66)))
(add-hook 'window-state-change-hook #'oni-org-roam-auto-toggle-roam-buffer)
(advice-add 'org-agenda :before #'oni-org-roam-update-todo-files)