I usually open a directory in vim with command
:e path-of-dir. Because the plugin Netrw is included by default, this will be taken over by it and a netrw window will open with the content of the dir.
But recently I have found that the buffer name of an opened directory would become
[No Name] sometimes. I can still run netrw operations in it, its name just gone.
The versions I am using are
vim 8.1 and
netrw v165. I never had this problem in vim 7. Have you guys ever encounter this problem? Is it a bug or just designed to be so? Is there any workaround, since it is a pain for attempts to restore dirs between vim sessions?