I ran :ls!
(having only a vague memory of the command and not really knowing what I was going to see) and saw a short list of files (maybe 5 or 6) with 'u' in the gutter. Apart from one of the files, all were from months or years ago.
I understand the 'u' means they are 'unloaded' buffers. Somewhere I read you can get rid of them with :bwipeout
. So I did that. They disappeared from :ls!
.
However, shortly after, another file appeared in the :ls!
list with 'u' in the gutter; a file I think I closed normally. However, other files I've been editing and closing normally like the latter did not appear in the list.
What's going on? Why did this file, in no way different from other files I've been editing, appear in the :ls!
list and others not?
And why are buffers in vim so extraordinarily convoluted? Is there a post anywhere that is able to explain buffers in a short, sweet way?
u
is for unlisted buffers, not unloaded