fix for the preview mappings
This commit is contained in:
parent
3e5faf9c56
commit
b2c56e94c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user