I am using the Ack plugin in Vim, which helps me to quickly search for strings in my project. However, sometimes I want to replace all or some occurrences of the found strin
Now, Vim has this new command cdo that will run the given command to each line of the quickfix list.
cdo
So you can use
:Ack pattern :cdo s/pattern/newpattern/g