When I open a vertical split by providing the path to a directory with :vsplit /my/dir
the split window opens with NERDtree showing the directory. I then open a file /my/dir/file
. I would then love to switch back to the inital view showing NERDtree with /my/dir
in this window again as before.
Background: I often compare/copy stuff from a file in one location to/from a file in a completely different location. Doing this, I would love to be able to browse both locations. I can browse one location with my default NERDtree showing on the left. For browsing the 2nd location, I would love to have the above capability.
:Rexplore
(:Rex
for short) that toggles a window between the last Netrw display and the last Netrw-edited file.