I open several files in Vim by, for example, running

vim a/*.php

which opens 23 files.

I then make my edit and run the following twice

:q

which closes all my buffers.

How can you close only one buffer in Vim?

10 s
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *