Add operator pending map for { and }

This commit is contained in:
Karl Yngve Lervåg 2015-09-17 10:39:51 +02:00
parent e1476afaac
commit 630fc5d5d6

View File

@ -104,6 +104,8 @@ function! vimtex#motion#init_buffer() " {{{1
nnoremap <silent><buffer> <plug>(vimtex-{) :call vimtex#motion#next_paragraph(1,0)<cr>
xnoremap <silent><buffer> <plug>(vimtex-}) :<c-u>call vimtex#motion#next_paragraph(0,1)<cr>
xnoremap <silent><buffer> <plug>(vimtex-{) :<c-u>call vimtex#motion#next_paragraph(1,1)<cr>
onoremap <silent><buffer> <plug>(vimtex-}) :execute "normal \<sid>(v)\<plug>(vimtex-})"<cr>
onoremap <silent><buffer> <plug>(vimtex-{) :execute "normal \<sid>(v)\<plug>(vimtex-{)"<cr>
xnoremap <silent><buffer> <plug>(vimtex-ip) :<c-u>call vimtex#motion#sel_paragraph(1)<cr>
xnoremap <silent><buffer> <plug>(vimtex-ap) :<c-u>call vimtex#motion#sel_paragraph()<cr>
onoremap <silent><buffer> <plug>(vimtex-ip) :execute "normal \<sid>(v)\<plug>(vimtex-ip)"<cr>