diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 6af68b7..5107ccb 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -204,6 +204,10 @@ ;; For camelCase (global-subword-mode 1) +;; ripgrep as grep +(setq grep-command "rg -nS --no-heading " + grep-use-null-device nil) + ;; Mini-frames ;; cool but kinda suboptimal atm ;(add-load-path! "~/.emacs.d/mini-frame") ;(require 'mini-frame) @@ -699,6 +703,8 @@ If the path from LINK does not exist, nil is returned." org-roam-db-choice) ) +(setq org-roam-list-files-commands '(rg)) + (setq full-org-roam-db-list nil) (setq full-org-roam-db-list (directory-files "~/Org" t "\\.[p,s]$")) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 87ac71d..9540789 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -267,6 +267,10 @@ Doom Emacs is traditionally installed by cloning the repository ([[https://githu ;; For camelCase (global-subword-mode 1) +;; ripgrep as grep +(setq grep-command "rg -nS --no-heading " + grep-use-null-device nil) + ;; Mini-frames ;; cool but kinda suboptimal atm ;(add-load-path! "~/.emacs.d/mini-frame") ;(require 'mini-frame) @@ -835,6 +839,8 @@ exit org-roam-db-choice) ) +(setq org-roam-list-files-commands '(rg)) + #+END_SRC *** Multi Org Roam Configuration #+BEGIN_SRC emacs-lisp :tangle config.el