diff --git a/autoload/vimtex/index.vim b/autoload/vimtex/index.vim index e1f6d04..2d102c4 100644 --- a/autoload/vimtex/index.vim +++ b/autoload/vimtex/index.vim @@ -87,7 +87,9 @@ function! vimtex#index#create(index) " {{{1 setlocal norelativenumber endif - nnoremap gg gg}j + if b:index.show_help + nnoremap gg gg}j + endif nnoremap OA k nnoremap OB j nnoremap OC k