~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/vim/.vim/after/plugin/vimtex.vim -rw-r--r-- 424 bytes
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" vimtex configuration
" Author: Greg Anders <greg@gpanders.com>
" Date: 2018-12-03

if executable('skim')
  let g:vimtex_view_method = 'skim'
endif

let g:vimtex_compiler_progname = 'nvr'
let g:vimtex_fold_enabled = 1
let g:vimtex_toc_config = {'refresh_always' : 0}
let g:vimtex_compiler_latexmk_engines = { '_' : '-lualatex' }

augroup vimtex
  autocmd!
  autocmd BufWritePost *.tex call vimtex#toc#refresh()
augroup END