diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index e043eb9..c4e370b 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -165,6 +165,18 @@ targets." :general (eglot-prefix-map "s" #'consult-eglot-symbols)) +(use-package consult-org-roam + :after (consult org-roam) + :config + (consult-org-roam-mode 1) + :custom + (consult-org-roam-grep-func #'consult-ripgrep) + (consult-org-roam-buffer-after-buffers t) + :general + (org-roam-commands-map "b" #'consult-org-roam-backlinks + "B" #'consult-org-roam-backlinks-recursive + "l" #'consult-org-roam-forward-links)) + (use-package embark-consult :general (leader-map "/" embark-consult-search-map)) diff --git a/emacs/.emacs.d/config/init-org.el b/emacs/.emacs.d/config/init-org.el index d82f189..e8e9a7f 100644 --- a/emacs/.emacs.d/config/init-org.el +++ b/emacs/.emacs.d/config/init-org.el @@ -164,7 +164,7 @@ (setq org-roam-v2-ack t) (defvar org-roam-commands-map (make-sparse-keymap)) (general-def org-roam-commands-map - "l" #'org-roam-buffer-toggle + "r" #'org-roam-buffer-toggle "f" #'org-roam-node-find "i" #'org-roam-node-insert "I" #'org-roam-node-insert-immediate)