aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-org-roam.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-org-roam.el')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org-roam.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-org-roam.el b/.emacs.d/rul-lisp/packages/rul-org-roam.el
new file mode 100644
index 0000000..f30e86e
--- /dev/null
+++ b/.emacs.d/rul-lisp/packages/rul-org-roam.el
@@ -0,0 +1,24 @@
+(use-package org-roam
+ :ensure t
+ :after rul-org
+ :init
+ (setq org-roam-v2-ack t)
+ :bind (("C-c n l" . org-roam-buffer-toggle)
+ ("C-c n f" . org-roam-node-find)
+ ("C-c n i" . org-roam-node-insert))
+ :config
+ (require 'rul-config-org)
+ (org-roam-setup)
+ (add-to-list 'display-buffer-alist
+ '("\\*org-roam\\*"
+ (display-buffer-in-direction)
+ (direction . right)
+ (window-width . 0.33)
+ (window-height . fit-window-to-buffer)))
+ (setq org-roam-mode-section-functions
+ (list #'org-roam-backlinks-section
+ #'org-roam-reflinks-section
+ #'org-roam-unlinked-references-section))
+ )
+
+(provide 'rul-org-roam)
nihil fit ex nihilo