Using that command with my function, there is a ton of visual clutter from metanotes, index files, etc. It's not hard to skip them when skimming up a list of just filenames, esp. since I am using Denote's naming conventions for files. It is very hard to do that when there are multiple lines from the same file.
I have this (cribbed) function:
I have the "-l" in there to suppress the matching content in the results and show only the matching file.
If I run
rg -l
on the command line, all I'll get is the files, e.g.Using that command with my function, there is a ton of visual clutter from metanotes, index files, etc. It's not hard to skip them when skimming up a list of just filenames, esp. since I am using Denote's naming conventions for files. It is very hard to do that when there are multiple lines from the same file.