diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 5f118a8..0dfc36f 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -390,7 +390,7 @@ function! s:Bookmark.openInNewTab(options) tabnew call s:initNerdTree(self.name) else - exec "tabedit " . bookmark.path.str({'format': 'Edit'}) + exec "tabedit " . self.path.str({'format': 'Edit'}) endif if has_key(a:options, 'stayInCurrentTab')