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

2 Answers 2

: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

:ls + shows all modified buffers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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