In the following screenshot, I demonstrate the following operations that shall yield a "buffer" that cannot be closed. My guess is that the list of files/directories is actually not a buffer. My question is: how to close such a thing? When I use
:bnext, such a "buffer" always get in my way.
- Open a "directory" by
vim ~(this opened my home directory); ==> I then get the first "buffer" opened, displaying the list of files + directories in my
- In the newly opened Vim session, edit (open)
:e .Xauthority; ==> This brings up another buffer
- Then, I close the new buffer with
- Lastly, I tried twice to close the first buffer of all files+directories with
:bd. ==> nothings gets closed.
I have been experiencing the problem all Vim installations that I have: on Windows machine as
gvim.exe, on Linux machine through the commandline (this recording) and on Linux with
gvim GUI sessions.