Treat +ivy/project-search & +default/project-search as counsel-rg
This gives the former commands access to any actions (on C-o) or counsel configuration meant for counsel-rg.
This commit is contained in:
parent
defbed9ac1
commit
e6de13b4c9
3 changed files with 7 additions and 3 deletions
|
@ -52,7 +52,8 @@ workspace."
|
|||
(unless (executable-find "rg")
|
||||
(user-error "Couldn't find ripgrep in your PATH"))
|
||||
(require 'helm-rg)
|
||||
(let ((helm-rg-default-directory (or in (doom-project-root) default-directory))
|
||||
(let ((this-command 'helm-rg)
|
||||
(helm-rg-default-directory (or in (doom-project-root) default-directory))
|
||||
(helm-rg-default-extra-args
|
||||
(delq nil (list (when all-files "-z -uu")
|
||||
(unless recursive "--maxdepth 1")))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue