I am reading a large base of C ++ code in Vim.
In one file I can do
/foo n n n
Now, if I want to search across multiple files, I have to do:
:vimgrep /foo/ :cn :cn :cn
Now, typing :cn is much less convenient than n . Is there a way to search for vimgrep results using n (e.g. search with / ) instead of :cn ?
source share