Use ripgrep in emacs

This commit is contained in:
Emmet 2024-06-29 11:53:35 -05:00
parent 23a8f9ad3a
commit e97051872a
2 changed files with 12 additions and 0 deletions

View file

@ -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]$"))

View file

@ -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