1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| Plug 'lervag/vimtex' let g:tex_flavor='latex'
" 阅读器相关的配置 包含正反向查找功能 仅供参考 let g:vimtex_view_general_viewer = 'zathura' let g:vimtex_view_general_options_latexmk = '-reuse-instance' let g:vimtex_view_general_options \ = '-reuse-instance -forward-search @tex @line @pdf' \ . ' -inverse-search "' . exepath(v:progpath) \ . ' --servername ' . v:servername \ . ' --remote-send \"^<C-\^>^<C-n^>' \ . ':execute ''drop '' . fnameescape(''\%f'')^<CR^>' \ . ':\%l^<CR^>:normal\! zzzv^<CR^>' \ . ':call remote_foreground('''.v:servername.''')^<CR^>^<CR^>\""'
set conceallevel=1 let g:tex_conceal='abdmg'
|