diff options
| author | 2022-11-22 23:14:44 -0800 | |
|---|---|---|
| committer | 2022-11-22 23:14:44 -0800 | |
| commit | ce285a51d696f9a77d2975b987be0e38e6d52fce (patch) | |
| tree | 0c2bf42de0fd1d35d4ddd0c42054035f27d9fe47 | |
| parent | 67938489750ee4391c30daacb29d77fed9936afb (diff) | |
| download | emacs-config-ce285a51d696f9a77d2975b987be0e38e6d52fce.tar.gz emacs-config-ce285a51d696f9a77d2975b987be0e38e6d52fce.zip | |
[oni-org-roam] Display org-roam buffer in side window
| -rw-r--r-- | oni-org-roam.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/oni-org-roam.el b/oni-org-roam.el index 113d686..d3cc1b5 100644 --- a/oni-org-roam.el +++ b/oni-org-roam.el @@ -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) |
