I need to run this command :perldo s/assigned_to(?!_member|_role)/assigned_to_member/gin all open buffers. I use :perldobecause the built-in vim regex (i.e. %s/foo/bar/g) for some reason does not work with my negative look.
In the course of my research, I found teams :bufdoand :execute "normal <foo>", but I have not yet figured out how to combine them.
Does anyone know how I can run the perldo command in all of my open buffers? Thank!
source
share