commit e1abd4d373402f745611305435677a92d7707212
parent 37859888b5a5e74e67a3c546e3aefcea8cece6f5
Author: marty <martin_grenfell@msn.com>
Date: Sat, 18 Sep 2010 18:15:30 +1200
close the tree win when opening bookmarked files for NERDTreeQuitOnOpen
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -194,6 +194,7 @@ function! s:Bookmark.activate()
if self.validate()
let n = s:TreeFileNode.New(self.path)
call n.open()
+ call s:closeTreeIfQuitOnOpen()
endif
endif
endfunction