Permalink
Browse files

close the tree win when opening bookmarked files for NERDTreeQuitOnOpen

  • Loading branch information...
1 parent 3785988 commit e1abd4d373402f745611305435677a92d7707212 @scrooloose scrooloose committed Sep 18, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit e1abd4d

Please sign in to comment.