Vim tips - grep

In this post we will discover how searching in vim works. From the vim help pages: Vim has two ways to find matches for a pattern: Internal and external. The advantage of the internal grep is that it works on all systems and uses the powerful Vim search patterns. An external grep program can be used when the Vim grep does not do what you want. As the vim manual page states, there are two main ways to find matches in vim.
Read more