From 22b2329720e001c71acd051ba7c6539404a0a2a6 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Fri, 14 Oct 2011 17:39:27 +1300 Subject: [PATCH] Always jump to previous window when closing tagbar, closes #44 --- autoload/tagbar.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index ed5fa2e..5f93c8c 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -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