diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 1b9ec80..049a258 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -122,7 +122,7 @@ function! s:OpenWindow() endif let openpos = g:tagbar_left ? 'topleft vertical ' : 'botright vertical ' - execute 'silent! ' . openpos . g:tagbar_width . 'split ' . '__Tagbar__' + execute 'silent! keepalt ' . openpos . g:tagbar_width . 'split ' . '__Tagbar__' setlocal noreadonly " in case the "view" mode is used setlocal buftype=nofile