aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/lisp/packages/rul-org-roam.el
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-02-21 19:44:16 -0800
committerRaul Benencia <id@rbenencia.name>2023-02-21 19:44:16 -0800
commit492049470fa3d486d909f50ddca59b335c8a44bb (patch)
tree2a11a54593dc6f63c9985bb02b5d28ae2db2e3ba /.emacs.local.d/lisp/packages/rul-org-roam.el
parent4cd3b3371dcf77171b98dc12f48da248b2f703b2 (diff)
emacs: reorganize org files
Diffstat (limited to '.emacs.local.d/lisp/packages/rul-org-roam.el')
-rw-r--r--.emacs.local.d/lisp/packages/rul-org-roam.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/.emacs.local.d/lisp/packages/rul-org-roam.el b/.emacs.local.d/lisp/packages/rul-org-roam.el
new file mode 100644
index 0000000..0184459
--- /dev/null
+++ b/.emacs.local.d/lisp/packages/rul-org-roam.el
@@ -0,0 +1,26 @@
+(use-package org-roam
+ :ensure t
+ :after rul-org
+ :custom
+ (org-roam-directory my-org-roam-directory)
+ :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