mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-18 12:00:23 +01:00
Always jump to previous window when closing tagbar, closes #44
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user