Add files with matches to the args list
If I want to change all instances of the word Apple to Orange across my entire project I can use the vim command:
But only if the files that have the word Apple are in the args list. To
populate the args list you can use the
args command in combination with
shelling out to git grep with the -l flag.
:args `git grep -l Apple`
Then, when you see the list of files with
:args, you'll see all the files
with the word Apple.