From 492049470fa3d486d909f50ddca59b335c8a44bb Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Tue, 21 Feb 2023 19:44:16 -0800 Subject: emacs: reorganize org files --- .emacs.local.d/lisp/packages/rul-org-roam.el | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .emacs.local.d/lisp/packages/rul-org-roam.el (limited to '.emacs.local.d/lisp/packages/rul-org-roam.el') 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) -- cgit v1.2.3