aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org-roam.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-03-30 22:26:41 -0700
committerGravatar Tom Willemse2023-03-30 22:26:41 -0700
commit9050edb89622f9af535539d64c51dc7ef90bde90 (patch)
treecaeb3851e2ba4977665d1d9c9fe4d32d23f05bbc /oni-org-roam.el
parent9c8457132b6594eb892de15254efefffa80eee8b (diff)
downloademacs-config-9050edb89622f9af535539d64c51dc7ef90bde90.tar.gz
emacs-config-9050edb89622f9af535539d64c51dc7ef90bde90.zip
[oni-org-roam] Only display unique references in the org-roam buffer
Diffstat (limited to 'oni-org-roam.el')
-rw-r--r--oni-org-roam.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/oni-org-roam.el b/oni-org-roam.el
index 7d844a6..79eef27 100644
--- a/oni-org-roam.el
+++ b/oni-org-roam.el
@@ -116,6 +116,11 @@
(concat "${title:*} "
(propertize "${tags:10}" 'face 'org-tag)))
+;; Only display unique references in the org-roam buffer.
+(setq org-roam-mode-sections
+ (cons '(org-roam-backlinks-section :unique t)
+ (delete 'org-roam-backlinks-section org-roam-mode-sections)))
+
(org-roam-db-autosync-mode)
(provide 'oni-org-roam)