tweak(org): reverse org-roam-list-files-commands

Prioritize faster searcher over slower.
This commit is contained in:
Henrik Lissner 2022-02-09 14:53:24 +01:00
parent 394f7be6c5
commit 10bbdecb5c

View file

@ -81,7 +81,9 @@ In case of failure, fail gracefully."
org-roam-mode-section-functions org-roam-mode-section-functions
#'(org-roam-backlinks-section #'(org-roam-backlinks-section
org-roam-reflinks-section) org-roam-reflinks-section)
org-roam-db-gc-threshold most-positive-fixnum) org-roam-db-gc-threshold most-positive-fixnum
;; Reverse the default to favor faster searchers over slower ones.
org-roam-list-files-commands '(fd fdfind rg find))
(setq-hook! 'org-roam-find-file-hook (setq-hook! 'org-roam-find-file-hook
org-id-link-to-org-use-id +org-roam-link-to-org-use-id) org-id-link-to-org-use-id +org-roam-link-to-org-use-id)