Default to showing dotfiles in ripgrep searches
This commit is contained in:
parent
a6959b75f3
commit
a904b718f8
2 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,8 @@ workspace."
|
|||
(helm-rg-default-directory (or in (doom-project-root) default-directory))
|
||||
(helm-rg-default-extra-args
|
||||
(delq nil (append (list (when all-files "-z -uu")
|
||||
(unless recursive "--maxdepth 1"))
|
||||
(unless recursive "--maxdepth 1")
|
||||
"--hidden")
|
||||
args))))
|
||||
(setq deactivate-mark t)
|
||||
(helm-rg (or query
|
||||
|
|
|
@ -272,6 +272,7 @@ The point of this is to avoid Emacs locking up indexing massive file trees."
|
|||
(directory (or in project-root))
|
||||
(args (concat (if all-files " -uu")
|
||||
(unless recursive " --maxdepth 1")
|
||||
" --hidden"
|
||||
" " (mapconcat #'shell-quote-argument args " "))))
|
||||
(setq deactivate-mark t)
|
||||
(counsel-rg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue