From 6464cff1131733ae4d5ba6ac6561be8833eb8c97 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Thu, 25 Dec 2008 09:51:25 +1300 Subject: [PATCH] fix a bug with the gi mapping --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 978d53d..b669e8d 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -3533,7 +3533,7 @@ endfunction "FUNCTION: s:previewNode() {{{2 function! s:previewNode(openNewWin) - let currentBuf = bufnr(".") + let currentBuf = bufnr("") if a:openNewWin call s:openEntrySplit(1) else