Minion_Research

grep is a built-in command of Vim. By default, it will use our system’s grep command. We can overwrite it to use The Silver Searcher’s ag command instead by putting this in our ~/.vimrc

Source: Faster Grepping in Vim

Was this post helpful?