diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 2b82366..1b68785 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -3223,7 +3223,8 @@ function! s:OpenInNewTab(stayCurrentTab) let bookmark = s:GetSelectedBookmark() if bookmark != {} if bookmark.path.isDirectory - exec "tabnew +NERDTreeFromBookmark\\ " . bookmark.name + tabnew + call s:InitNerdTree(bookmark.name) else exec "tabedit " . bookmark.path.StrForEditCmd() endif