In vim, I open a terminal using :term
and enter the normal mode using <C-w> <N>
. Then, :Explore
does not open the vim's file navigation view, but creates a another split window of the current terminal session.
I would like to know why this is happening, and how to fix it. Thank you!
This is badly slowing down my workflow, as sometimes the vim terminal window is the only window left. Then, I would like to open a text file in a split window to edit by :Vexplore
and selecting the text file. However since the :Explore
command doesn't work as expected, I have to exit vim entirely using :q!
and just restart vim to open the file, which seems to be a waste of time.
Edit: I kind of found a way to not have to close vim, when the terminal is the only window left. Do :new
to open a new empty window, and from there all normal mode command work just as fine.