fix for the preview mappings

This commit is contained in:
Martin Grenfell 2008-12-14 00:38:13 +13:00
parent 3e5faf9c56
commit b2c56e94c9

View File

@ -3453,12 +3453,13 @@ endfunction
"FUNCTION: s:previewNode() {{{2
function! s:previewNode(openNewWin)
let currentBuf = bufnr(".")
if a:openNewWin
call s:openEntrySplit(1)
else
call s:activateNode(1)
end
call s:putCursorInTreeWin()
exec bufwinnr(currentBuf) . "wincmd w"
endfunction
" FUNCTION: s:revealBookmark(name) {{{2