Closed sandeep-ad closed 1 year ago
Duplicate of #45
@Iron-E didn't we have a netrw entry in the Known Issues section of the readme?
Wait no it's not #45, but we have an issue around for the netrw bug.
I use this one, I recommend it: https://github.com/justinmk/vim-dirvish
@Iron-E didn't we have a netrw entry in the Known Issues section of the readme?
That particular issue in the README was about :BufferNext
/:BufferPrevious
which was fixed in #369 so I removed that notice. This is a different issue it seems— we should add a more general notice about Netrw back
tl;dr: @sandeep-ad this is a bug with netrw. It doesn't properly report its own buffer with bufnr
, so it is impossible for us to delete it. (try :bdelete <dir>
with netrw, not even Vim's builtin functions work). Use any filetree plugin instead.
we should add a more general notice about Netrw back
"Netrw sucks."
Preamble (you can delete this section):
Description
Unable to close buffer which is opened for Netrw directory listing.
To Reproduce
open a directory in nvim now select and open a file, which should open in new buffer Finally try to close the directory listing buffer using :bufferclose command
This will not close the buffer.
Screenshots![image](https://user-images.githubusercontent.com/110502966/229850695-e7c744eb-ae43-4245-8ce5-c6a91a945611.png)
Informations NVIM v0.8.3