You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using deadgrep, I often do a search for a very general string, am overwhelmed by the results, get upset.
In the old days, I'd do something like say git grep foo, see that there were too many results, say git grep foo | grep -v Test, see that there were still too many results, say git grep foo | grep -v Test | grep -v /lib, and so on until the result set was manageable.
I think it would be useful if there were a way to rapidly exclude some results (and then run (deadgrep-restart)).
I don't like using globs because I can never remember the syntax.
I think something like (define-key map (kbd "E") #'deadgrep-add-ad-hoc-exclude) where deadgrep-add-ad-hoc-exclude takes input from the minibuffer and adds it to a list of things to exclude (would this list need to be reconstructed behind the scenes as globs?) might be nice.
I'm less sure how to present this list, or how to deal with editing members of this list or removing them.
The text was updated successfully, but these errors were encountered:
Using deadgrep, I often do a search for a very general string, am overwhelmed by the results, get upset.
In the old days, I'd do something like say
git grep foo
, see that there were too many results, saygit grep foo | grep -v Test
, see that there were still too many results, saygit grep foo | grep -v Test | grep -v /lib
, and so on until the result set was manageable.I think it would be useful if there were a way to rapidly exclude some results (and then run
(deadgrep-restart)
).I don't like using globs because I can never remember the syntax.
I think something like
(define-key map (kbd "E") #'deadgrep-add-ad-hoc-exclude)
wheredeadgrep-add-ad-hoc-exclude
takes input from the minibuffer and adds it to a list of things to exclude (would this list need to be reconstructed behind the scenes as globs?) might be nice.I'm less sure how to present this list, or how to deal with editing members of this list or removing them.
The text was updated successfully, but these errors were encountered: