~busykoala/vim_config

3546854f2b0816830526f9795eb7629af1e51a31 — Matthias Osswald 1 year, 7 months ago 701e78b
Add epdfview as unix pdf viewer.
1 files changed, 5 insertions(+), 0 deletions(-)

M config_parts/general.vim
M config_parts/general.vim => config_parts/general.vim +5 -0
@@ 94,6 94,11 @@ if has('macunix')
    let g:vimtex_view_general_viewer = '/Applications/Skim.app/Contents/SharedSupport/displayline'
    let g:vimtex_view_general_options = '-r @line @pdf @tex'
    let g:vimtex_fold_enabled = 0 "So large files can open more easily
elseif has('unix')
    let g:vimtex_view_general_viewer = '/usr/bin/epdfview'
    let g:vimtex_view_general_options = '-r @line @pdf @tex'
    let g:vimtex_fold_enabled = 0 "So large files can open more easily
    let g:tex_flavor = 'latex'
else
    " WSL pdf viewer (which can autoreload)
    let g:vimtex_view_general_viewer = 'sumatraPDF'