Sometimes when there are a lot of buffers, it becomes hard to see which buffers have been modified using :ls.

:ls +

See :help :ls, you'll see it takes an optional "flags" argument, one of which is:

[flags] can be a combination of the following characters, which restrict the buffers to be listed:

  • +: modified buffers
| improve this answer | |

:ls + shows all modified buffers

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.