while in the ouline, open a new file (e.g.: :e other)
the outline buffer will change
now press <leader>o twice to close & open the outline
when opening the outline again at the end of this process, I get an error:
This is something that neo-tree.nvim and other file explorer plugins prevent. when you accidentally open a file while focused on the file explorer buffer (by :e, or telescope, or some other method), the file is magically opened not on the file explorer buffer, but on the "parent".
I'm not sure how this is achieved, but would be awesome to have the outline window behave in a similar way
Try the following:
:e other
)<leader>o
twice to close & open the outlinewhen opening the outline again at the end of this process, I get an error:
This is something that neo-tree.nvim and other file explorer plugins prevent. when you accidentally open a file while focused on the file explorer buffer (by
:e
, or telescope, or some other method), the file is magically opened not on the file explorer buffer, but on the "parent".I'm not sure how this is achieved, but would be awesome to have the outline window behave in a similar way