diff options
Diffstat (limited to '.emacs.local.d/lisp/packages/rul-org-roam.el')
-rw-r--r-- | .emacs.local.d/lisp/packages/rul-org-roam.el | 26 |
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) |