nvim/after/ftplugin/tex.vim

17 lines
510 B
VimL
Raw Permalink 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
2019-09-23 07:37:48 +00:00
map <silent> <buffer> <F3> <Plug>(codelines-go-to-def)
map <silent> <buffer> <leader>cl :call jobstart(['codelines', '.'])<cr>