~gpanders/dotfiles

ref: 885174d3dacde7705891f7dc7934650f50697c87 dotfiles/vim/.vim/after/plugin/vimtex.vim -rw-r--r-- 404 bytes
885174d3Greg Anders Update fzf configuration 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" vimtex configuration
" Author: Greg Anders <greg@gpanders.com>
" Date: 2018-12-03

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

if get(g:, 'os', '') ==# 'Darwin'
  let g:vimtex_compiler_program = 'nvr'
endif

let g:vimtex_fold_enabled = 1
let g:vimtex_toc_config = {'refresh_always' : 0}

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