grep
is a built-in command of Vim. By default, it will use our system’sgrep
command. We can overwrite it to use The Silver Searcher’sag
command instead by putting this in our~/.vimrc
Source: Faster Grepping in Vim
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.