When using netrw with the tree style listing (
netrw_liststyle = 3), if I expand a directory, open a file in that directory, then try to open a file above that directory, it creates a new empty file in the lower directory with the same name.
For example, I have the following directory structure:
│ └── bar.txt
I open the
bar directory, then
bar.txt. Then I attempt to open
baz.txt and instead of opening the file, vim creates an empty file
Is there any way for netrw to know the full paths of the files listed, or does it simply run
:edit on the file name without the full path?
Edit: I'm using vim 8.0.427 and netrw v156.