Skip to content

Commit 477402b

Browse files
committed
make sure current window is ControlP
1 parent cd99e43 commit 477402b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,7 @@ fu! s:PrtDeleteMRU()
907907
endf
908908

909909
fu! s:PrtExit()
910+
exe bufwinnr(s:bufnr).'winc w'
910911
if bufnr('%') == s:bufnr && bufname('%') == 'ControlP'
911912
noa cal s:Close(1)
912913
noa winc p

0 commit comments

Comments
 (0)