Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions autoload/vimtex/options.vim
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ function! vimtex#options#init() abort " {{{1
call s:init_option('vimtex_view_skim_activate', 0)
call s:init_option('vimtex_view_skim_sync', 0)
call s:init_option('vimtex_view_skim_reading_bar', 0)
call s:init_option('vimtex_view_skim_no_select', 0)
call s:init_option('vimtex_view_texshop_activate', 0)
call s:init_option('vimtex_view_texshop_sync', 0)
call s:init_option('vimtex_view_zathura_options', '')
Expand Down
1 change: 1 addition & 0 deletions autoload/vimtex/view/skim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function! s:make_cmd_view(outfile, open, sync) abort " {{{1
\ 'app.documents[0].go({ to: app.texLines[' . (line('.')-1) . '],',
\ 'from: Path("'. expand('%:p') . '")',
\ (g:vimtex_view_skim_reading_bar ? ', showingReadingBar: true' : ''),
\ (g:vimtex_view_skim_no_select ? ', selecting: false' : ''),
\ '});'
\])
endif
Expand Down
7 changes: 7 additions & 0 deletions doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3396,6 +3396,12 @@ OPTIONS *vimtex-options*

Default value: 0

*g:vimtex_view_skim_no_select*
Set this option to 1 to prevent Skim from selecting the text after command
|:VimtexView| or compiler callback.

Default value: 0

*g:vimtex_view_texshop_activate*
Set this option to 1 to make TeXShop have focus after command |:VimtexView| in
addition to being moved to the foreground.
Expand Down Expand Up @@ -5822,6 +5828,7 @@ the text you want to search.
Associated settings:
* |g:vimtex_view_skim_activate|
* |g:vimtex_view_skim_reading_bar|
* |g:vimtex_view_skim_no_select|

*vimtex-view-sumatrapdf*
SumatraPDF ~
Expand Down