Description
Can this functionality be implemented utilising API?
Maybe, but I didn't find a way to detect if the tree is already open in another tab, so my idea of having a an autocmd on TabEnter did not work out.
Is your feature request related to a problem? Please describe.
I am basically looking for the same functionality as provided by https://github.com/jistr/vim-nerdtree-tabs for nerdtree.
Open the file tree ones, have it open in all tabs. When closing, have it close in all tabs. When having a tree open in one tab, creating a new tab or entering an existing tab without the tree open currently, there is no tree in the new tab. The other way around as well: closing the tree in one tab and then switching to one where it was open will still have it open.
Describe the solution you'd like
Be able to have the tree open/close/toggle for all tabs, including new tabs. Not sure what the best way of implementing is. Could be done minimally with new api reporting the current state or a top-level option for this behavior.