aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/org-roam.el
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2021-08-01 12:00:40 -0700
committerRaul Benencia <rul@kalgan.cc>2021-08-01 12:01:39 -0700
commit9ca5d1c9d50c2230882705b4689d65a8f59cb4f4 (patch)
tree039f0ef07b3178055c8ab283fbc608ca8afb6f43 /.emacs.local.d/modes/org-roam.el
parent80617b11fb30d1ff7d381d919d5fab9b3b359100 (diff)
org-roam to its own file
Diffstat (limited to '.emacs.local.d/modes/org-roam.el')
-rw-r--r--.emacs.local.d/modes/org-roam.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/org-roam.el b/.emacs.local.d/modes/org-roam.el
new file mode 100644
index 0000000..31a20a5
--- /dev/null
+++ b/.emacs.local.d/modes/org-roam.el
@@ -0,0 +1,20 @@
+(use-package org-roam
+ :ensure t
+ :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
+ (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))
+ )
nihil fit ex nihilo