vimeditortabs

How to save all files in tabs on Vim?


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


Solution

  • 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.