Always jump to previous window when closing tagbar, closes #44

This commit is contained in:
Jan Larres 2011-10-14 17:39:27 +13:00
parent 849fcbcd5a
commit 22b2329720

View File

@ -1477,6 +1477,7 @@ function! s:CloseWindow()
if winbufnr(2) != -1
" Other windows are open, only close the tagbar one
close
wincmd p
endif
else
" Go to the tagbar window, close it and then come back to the