Add latex plugins and configurations to vim

This commit is contained in:
Tanguy Herbron 2020-10-04 15:31:58 +02:00
parent c7a5a55d88
commit 93eaa767f6

View File

@ -38,6 +38,9 @@ Plug 'mbbill/undotree'
" Python auto completion engine " Python auto completion engine
Plug 'davidhalter/jedi-vim' Plug 'davidhalter/jedi-vim'
" LaTeX plugin
Plug 'lervag/vimtex'
call plug#end() call plug#end()
" autocmd vimenter * NERDTree | wincmd w " autocmd vimenter * NERDTree | wincmd w
@ -111,3 +114,13 @@ let g:indentLine_char_list = ['|', '¦', '┆', '┊']
let g:indentLine_setColors = 1 let g:indentLine_setColors = 1
let g:indentLine_color_gui = "#5C6370" let g:indentLine_color_gui = "#5C6370"
let g:indentLine_showFirstIndentLevel = 1 let g:indentLine_showFirstIndentLevel = 1
" vimtex settings
let g:tex_flavor = 'latex'
let g:vimtex_view_method = 'zathura'
let g:vimtex_compiler_latexmk = {
\'build_dir': 'build',
\}
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"