Fixed #529: Only remap gg for index/TOC if needed

This commit is contained in:
Karl Yngve Lervåg 2016-08-23 10:38:44 +02:00
parent 5bc5b14ae2
commit 3675cbc7a9

View File

@ -87,7 +87,9 @@ function! vimtex#index#create(index) " {{{1
setlocal norelativenumber
endif
if b:index.show_help
nnoremap <silent><buffer> gg gg}j
endif
nnoremap <silent><buffer> <esc>OA k
nnoremap <silent><buffer> <esc>OB j
nnoremap <silent><buffer> <esc>OC k