set nocompatible filetype plugin indent on syntax enable set iskeyword+=: set hidden let &rtp = '~/.vim/bundle/vimtex,' . &rtp let &rtp = '~/.vim/bundle/vimtex/after,' . &rtp set lines=50 " Starting to use vim-latex and it needs several configurations to work correctly let g:vimtex_latexmk_options="-pdf -pdflatex='pdflatex -file-line-error -shell-escape -synctex=1'" let g:vimtex_fold_enabled = 0 let g:vimtex_quickfix_mode = 2 let g:vimtex_quickfix_open_on_warning = 1 let g:vimtex_toc_resize = 0 let g:vimtex_toc_hide_help = 1 let g:vimtex_indent_enabled = 1 let g:vimtex_latexmk_enabled = 1 let g:vimtex_latexmk_callback = 1 let g:vimtex_complete_recursive_bib = 0 let g:vimtex_view_method = 'mupdf'