I recently switched to vim, and learnt that you can execute searching using AG.
I always do
:Ag foo
And, in the quicklist window
:cdo s/foo/bar/g |update
However,it opens all the files in buffers.How can I not let Vim open buffers,but let vim replace words?