From b4a5800f72b3b3efbae113eddd3586812bb5afef Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sat, 30 Nov 2013 03:31:31 +1300 Subject: [PATCH] Always centre preview window --- autoload/tagbar.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 3d602b7..d7e90ec 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -3042,6 +3042,7 @@ function! s:ShowInPreviewWin() abort call s:goto_win('P', 1) normal! zv + normal! zz call s:goto_win('p', 1) endfunction