How do you run a command in every tab?
Answer
:tabdo %s/old/new/g
Explanation
Use :tabdo to execute a command in every tab page. :tabdo %s/old/new/g performs substitution across all tabs.
:tabdo %s/old/new/g
Use :tabdo to execute a command in every tab page. :tabdo %s/old/new/g performs substitution across all tabs.