diff --git a/myconfig.org b/myconfig.org index c852d74..9165f63 100644 --- a/myconfig.org +++ b/myconfig.org @@ -1075,6 +1075,30 @@ command and sqlite3 must be available ) #+end_src +*** consult-org-roam +This is a small collection of functions to operate org-roam with the help of consult and its live preview feature. +Have a look at [[https://github.com/jgru/consult-org-roam][the project in github]]. + +#+begin_src emacs-lisp + (use-package consult-org-roam + :straight (:host github :repo "jgru/consult-org-roam") + :init + (require 'consult-org-roam) + ;; Activate the minor-mode + (consult-org-roam-mode 1) + :custom + (consult-org-roam-grep-func #'consult-ripgrep) + :config + ;; Eventually suppress previewing for certain functions + (consult-customize + consult-org-roam-forward-links + :preview-key (kbd "M-.")) + :bind + ("C-c n e" . consult-org-roam-file-find) + ("C-c n b" . consult-org-roam-backlinks) + ("C-c n z" . consult-org-roam-search)) +#+end_src + * flycheck Syntax checking for programming languages