tweak(org-roam): remove unlinked references from buffer
This never really worked all that well anyways, so it's not worth keeping around. I can just implement my own version if I want this feature.
This commit is contained in:
parent
848c27d1d0
commit
1b56e781c2
1 changed files with 1 additions and 11 deletions
12
config.org
12
config.org
|
|
@ -3535,21 +3535,11 @@ By default, Roam generates file names containing both a timestamp and the node t
|
|||
|
||||
*** Roam Buffer
|
||||
|
||||
The unlinked references section is turned off by default for performance reasons, but sometimes I want to see that information when writing notes. I also don't want it to show up for every node, because some of my nodes have quite a large reference list. Let's add a predicate to control when unlinked references are shown.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defadvice! ~/org-roam-unlinked-references-p (node)
|
||||
"A predicate to control when unlinked references are shown in the `org-roam' buffer."
|
||||
:before-until #'org-roam-unlinked-references-section
|
||||
(assoc "ROAM_NO_UNLINKED" (org-roam-node-properties node)))
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(after! org-roam
|
||||
(setq org-roam-mode-sections
|
||||
'((org-roam-backlinks-section :unique t)
|
||||
org-roam-reflinks-section
|
||||
org-roam-unlinked-references-section)))
|
||||
org-roam-reflinks-section)))
|
||||
#+end_src
|
||||
|
||||
*** Roam Links
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue