floupinette
floupinette

Reputation: 312

How to save only the visible buffers of the current tab?

I work like this in VIM :

Sometimes I accidentally modify buffers in the other tabs but do not want to save the changes for those buffers.

How can I save only the buffers displayed in the first (current) tab?

Upvotes: 0

Views: 92

Answers (1)

floupinette
floupinette

Reputation: 312

As said @romainl, to save modifications of (only) the currently displayed buffers, do :

:windo update

Upvotes: 2

Related Questions