vimtricks.wiki Concise Vim tricks, one at a time.

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.

Next

How do I visually select a double-quoted string including the quotes themselves?