I'm recording a macro attempting to re-create nerdtree by:
- From within the original open buffer, create and switch to a new window using
:Exploreto open vim's file explorer, and select a file to open
- The new split is closed, and the selected file is open in the original open buffer.
What would the third step be here? Is there a way to change the buffer of another window using