summaryrefslogtreecommitdiff
path: root/modules/org-roam-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/org-roam-config.el')
-rw-r--r--modules/org-roam-config.el30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/org-roam-config.el b/modules/org-roam-config.el
index a6b42ce7..a33dd633 100644
--- a/modules/org-roam-config.el
+++ b/modules/org-roam-config.el
@@ -297,6 +297,36 @@ title."
;; Message to user
(message "'%s' added as an org-roam node." title)))
+;; TASK: Need to decide keybindings before implementation and testing
+;; (use-package consult-org-roam
+;; :ensure t
+;; :after org-roam
+;; :init
+;; (require 'consult-org-roam)
+;; ;; Activate the minor mode
+;; (consult-org-roam-mode 1)
+;; :custom
+;; ;; Use `ripgrep' for searching with `consult-org-roam-search'
+;; (consult-org-roam-grep-func #'consult-ripgrep)
+;; ;; Configure a custom narrow key for `consult-buffer'
+;; (consult-org-roam-buffer-narrow-key ?r)
+;; ;; Display org-roam buffers right after non-org-roam buffers
+;; ;; in consult-buffer (and not down at the bottom)
+;; (consult-org-roam-buffer-after-buffers t)
+;; :config
+;; ;; Eventually suppress previewing for certain functions
+;; (consult-customize
+;; consult-org-roam-forward-links
+;; :preview-key "M-.")
+;; :bind
+;; ;; Define some convenient keybindings as an addition
+;; ("C-c n e" . consult-org-roam-file-find)
+;; ("C-c n b" . consult-org-roam-backlinks)
+;; ("C-c n B" . consult-org-roam-backlinks-recursive)
+;; ("C-c n l" . consult-org-roam-forward-links)
+;; ("C-c n r" . consult-org-roam-search))
+
+
;; which-key labels
(with-eval-after-load 'which-key
(which-key-add-key-based-replacements