I'm reading through a large C++ code base in Vim.
Within a single file, I can do
/foo
n
n
n
Now, if I want to search through more than one file, I have to do:
:vimgrep /foo/
:cn
:cn
:cn
Now, typing :cn
is so much less convenient than n
. Is there a way to search through vimgrep results with n
(like searches with /
) instead of :cn
?