There is currently no way to do this.
From the source code (ref. lib/nerdtree/opener.vim line 238):
function! s:Opener._openFile()
if self._reuse && self._reuseWindow()
return
endif
And the _reuseWindow()
function (ref. line 309):
function! s:Opener._reuseWindow()
"check the current tab for the window
let winnr = bufwinnr('^' . self._path.str() . '$')
if winnr != -1
call nerdtree#exec(winnr . "wincmd w")
call self._checkToCloseTree(0)
return 1
else
"check other tabs
let tabnr = self._path.tabnr()
if tabnr
call self._checkToCloseTree(1)
call nerdtree#exec('normal! ' . tabnr . 'gt')
let winnr = bufwinnr('^' . self._path.str() . '$')
call nerdtree#exec(winnr . "wincmd w")
return 1
endif
endif
return 0
endfunction
It wouldn't be too hard, however, to simply remove the entire else
block in the code above (or comment it out). Since we're on the Vim site, why not do it with Vim:
vim "+/function! s:Opener._reuseWindow()" "+/else" "+normal d9j" "+wq" lib/nerdtree/opener.vim
Run this command from the directory in which the NERDTree plugin is located to automagically remove this functionality.