How to save all files in tabs on Vim?

rp101 picture rp101 · Nov 22, 2010 · Viewed 12.8k times · Source

If I have multiple files in tabs on VIM and I edit few of them. How to save them with one command?

Answer

Cascabel picture Cascabel · Nov 22, 2010

The command wa (short for wall) will write all changed buffers. You can also use :tabdo w, which is definitely exactly what you want, and generalizes nicely.