nvim/after/ftplugin/tex.vim

16 lines
490 B
VimL
Raw Normal View History

if exists("&cole")
" conceal" Use conceal vim 7.3 feature:
set cole=0 " conceal level
" Conceal in tex file: "admgs", a=accents, d=delimiters, m=math symbols,
" g=Greek, s=superscripts/subscripts:
let g:tex_conceal="agm"
endif
imap <buffer> [[ \begin{<C-x><C-o>
2019-05-09 09:16:41 +00:00
imap <buffer> ]] <Plug>(vimtex-delim-close)
imap <buffer> [( \left(
setlocal tw=100
2019-05-09 09:16:41 +00:00
map <silent> <buffer> <F3> :exec "Ack! -w " . substitute(expand('<cword>'), 'SRC','\\>','')<cr>v:ccl<cr>zR