When dealing with a single file, I\'m used to:
/blah
do some work
n
do some work
n
do some work
Suppose now I want to search for some pattern o
We can do this using vimgrep
and searching across the argslist. But first let's populate our argslist with all our buffers:
:bufdo :args ## %
Now we can search in our argslist
:vimgrep /blah/ ##
Where % == the current filepath
and ## == the arglist
.
I recommend watching these vimcasts if you want to learn more: Populate the arglist, Search multiple files with vimgrep