Add consult-org-roam configuration

main
Sergio Alvariño 3 years ago
parent fd9628ff84
commit 951cea93ac

@ -1075,6 +1075,30 @@ command and sqlite3 must be available
) )
#+end_src #+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 * flycheck
Syntax checking for programming languages Syntax checking for programming languages

Loading…
Cancel
Save