From 236df49362d278d470d13047f03d03bf273a67de Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 6 Jul 2008 16:26:56 +1200 Subject: [PATCH] refactor the t/T mappings for bookmarks this way feels cleaner --- plugin/NERD_tree.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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