From 6a95bfbbc01f21557e7f57c1a6a50845673c4e0f Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Wed, 18 Jan 2012 18:38:34 +1300 Subject: [PATCH] Only ignore BufEnter when jumping to tag --- autoload/tagbar.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 8317631..4877d84 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -2424,8 +2424,9 @@ function! s:JumpToTag(stay_in_tagbar) let tagbarwinnr = winnr() + " Ignore BufEnter to prevent MiniBufExplorer from interfering let eventignore_save = &eventignore - set eventignore=all + set eventignore=BufEnter " This elaborate construct will try to switch to the correct " buffer/window; if the buffer isn't currently shown in a window it will