Suppose that I'm editing a file, then I press :w to store it. And then I use :e. to navigate its containing folder in the netrw. Suppose its containing folder is ./A/B/. In netrw, I open a file with path ./D/E.My question is when I enter into the file ./D/E, how can I return to ./D/ or ./A/B/?I tried :b#, but only to return to the previous edited file, not to the netrw. I know that I can use :e. again to return to ./A/B/ since it's current path. Is there any way to return to ./D/, the containing folder of the currently being edited file?Thanks
How to return to netrw from a file
buffers;netrw;path
:E[xplore]does the same thing as :e %:h, and is shorter to type.If you look up :help :Explore, you can see that there are also variations to open the directory of the current file in a new tab or split instead of in the current window.