aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)