[oni-org-roam] Display org-roam buffer in side window
This commit is contained in:
parent
6793848975
commit
ce285a51d6
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue