nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 236df49362d278d470d13047f03d03bf273a67de
parent bccd73c8f5b19d479de9ff96f42722ae716db0b9
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Sun,  6 Jul 2008 16:26:56 +1200

refactor the t/T mappings for bookmarks

this way feels cleaner

Diffstat:
Mplugin/NERD_tree.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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