If you use the o command and the current window contains a file that has not been edited, the contents of the window will be replaced with the new open file. Otherwise, a new section opens (so as not to lose the current file modifications).
If you want to better control NERDTree behavior, follow this trick:
o: open in prev window go: preview t: open in new tab T: open in new tab silently i: open split gi: preview split s: open vsplit gs: preview vsplit
source share