diff options
author | Raúl Benencia <id@rbenencia.name> | 2023-07-20 07:53:35 -0700 |
---|---|---|
committer | Raúl Benencia <id@rbenencia.name> | 2023-07-22 10:45:18 -0700 |
commit | 5860445da55ac3abc3935c6ffd5e9bb4539225c9 (patch) | |
tree | 2de3124b4c0577245a0b7e1dec30732af7fcc191 /.emacs.d/rul-lisp/packages/rul-org-roam.el | |
parent | fd0754be08f4b2f9ef58625c17544a238afefade (diff) |
emacs: move everything to ~/.emacs.d
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-org-roam.el')
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-org-roam.el | 24 |
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) |