Find and replace on windows
You can run a command on all windows in the current collection with :windo
To do a find and replace on the current set of windows do:
This will replace foo with bar in each file.
Alternatively (not pictured in the above gif) you can run a macro on each open by using :windo execute "normal @a" | update - to run macro @ and save after file change.