Added vimtex-info-full mapping (default lI)

This commit is contained in:
Karl Yngve Lervåg 2015-11-07 23:28:38 +01:00
parent 9bdfb49d08
commit ec5d693e85
2 changed files with 4 additions and 1 deletions

View File

@ -178,7 +178,8 @@ function! s:init_buffer() " {{{1
command! -buffer -bang VimtexWordCount call vimtex#wordcount(<q-bang> == "!")
" Define mappings
nnoremap <buffer> <plug>(vimtex-info) :call vimtex#info(0)<cr>
nnoremap <buffer> <plug>(vimtex-info) :call vimtex#info(0)<cr>
nnoremap <buffer> <plug>(vimtex-info-full) :call vimtex#info(1)<cr>
"
" Attach autocommands
@ -203,6 +204,7 @@ function! s:init_mappings() " {{{1
endfunction
call s:map('n', '<localleader>li', '<plug>(vimtex-info)')
call s:map('n', '<localleader>lI', '<plug>(vimtex-info-full)')
call s:map('n', 'dse', '<plug>(vimtex-delete-env)')
call s:map('n', 'dsc', '<plug>(vimtex-delete-cmd)')

View File

@ -274,6 +274,7 @@ This feature is explained in more detail later, see |vimtex-imaps|.
LHS RHS MODE~
-----------------------------------------------------------~
<localleader>li |<plug>(vimtex-info)| `n`
<localleader>lI |<plug>(vimtex-info-full)| `n`
<localleader>lt |<plug>(vimtex-toc-open)| `n`
<localleader>lT |<plug>(vimtex-toc-toggle)| `n`
<localleader>ly |<plug>(vimtex-labels-open)| `n`