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
You could using ack by this way
:args `ack -l User app/` :argdo %s/, :expire.*)/)/ge | update
Or use ag
:args `ag -l User app/` :argdo %s/, :expire.*)/)/gec | w