Show Org-roam buffer as side buffer

This is nice to continuously show backlinks when browsing notes.
This commit is contained in:
Daniel - 2022-08-15 18:52:25 +02:00
parent ef7bd6e7b4
commit f064305a07
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 9 additions and 1 deletions

10
init.el
View File

@ -1363,7 +1363,15 @@ respectively."
("<C-left>" . org-tree-slide-move-previous-tree)))
(use-package org-roam
:init (setq org-roam-v2-ack t)
:init (progn
(add-to-list 'display-buffer-alist
'("\\*org-roam\\*"
(display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 0.33)
(window-parameters . ((no-other-window . t)
(no-delete-other-windows . t))))))
:commands (org-roam-node-insert
org-roam-node-find
org-roam-capture)