Use ripgrep in emacs
This commit is contained in:
@@ -204,6 +204,10 @@
|
|||||||
;; For camelCase
|
;; For camelCase
|
||||||
(global-subword-mode 1)
|
(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
|
;; Mini-frames ;; cool but kinda suboptimal atm
|
||||||
;(add-load-path! "~/.emacs.d/mini-frame")
|
;(add-load-path! "~/.emacs.d/mini-frame")
|
||||||
;(require 'mini-frame)
|
;(require 'mini-frame)
|
||||||
@@ -699,6 +703,8 @@ If the path from LINK does not exist, nil is returned."
|
|||||||
org-roam-db-choice)
|
org-roam-db-choice)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(setq org-roam-list-files-commands '(rg))
|
||||||
|
|
||||||
(setq full-org-roam-db-list nil)
|
(setq full-org-roam-db-list nil)
|
||||||
|
|
||||||
(setq full-org-roam-db-list (directory-files "~/Org" t "\\.[p,s]$"))
|
(setq full-org-roam-db-list (directory-files "~/Org" t "\\.[p,s]$"))
|
||||||
|
@@ -267,6 +267,10 @@ Doom Emacs is traditionally installed by cloning the repository ([[https://githu
|
|||||||
;; For camelCase
|
;; For camelCase
|
||||||
(global-subword-mode 1)
|
(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
|
;; Mini-frames ;; cool but kinda suboptimal atm
|
||||||
;(add-load-path! "~/.emacs.d/mini-frame")
|
;(add-load-path! "~/.emacs.d/mini-frame")
|
||||||
;(require 'mini-frame)
|
;(require 'mini-frame)
|
||||||
@@ -835,6 +839,8 @@ exit
|
|||||||
org-roam-db-choice)
|
org-roam-db-choice)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(setq org-roam-list-files-commands '(rg))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Multi Org Roam Configuration
|
*** Multi Org Roam Configuration
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
Reference in New Issue
Block a user