xuhdev / vim-latex-live-preview

A Vim Plugin for Lively Previewing LaTeX PDF Output
https://www.topbug.net/blog/2013/06/13/live-preview-of-latex-in-vim/
GNU General Public License v3.0
834 stars 74 forks source link

Feature Request: Vim-late-live-Preview with browser #93

Closed codelover-dev closed 4 years ago

codelover-dev commented 4 years ago

This is not a bug, but feature request Please share how you guys set up on Mac OS. Currently, as a newbie for vim and latex, need to: LLPStartPreview everytime after some changes, also the workflow is very annoying with Preview(app). Thank you all in advance.

Expected behavior

:LLPStartPreview open the per-defined browser to preview the file. if the browser doesn't have a open tab for the current file, open the current file on the right of the current tab.

First of all, thank you for the hard work and for sharing this vim-latex-live-preview. Wondering if it possible to make the preview with browser instead of any platform specified application.

System configuration

1 call plug#begin('~/.vim/plugged') 2 Plug 'itchyny/lightline.vim' 3 Plug 'pangloss/vim-javascript' 4 Plug 'beautify-web/js-beautify' 5 " A Vim Plugin for Lively Previewing LaTeX PDF Output 6 Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } 7 Plug 'ianding1/leetcode.vim' 8 call plug#end() 9 10 set packpath^=~/.vim 11 12 autocmd Filetype tex setl updatetime=1 13 let g:Tex_DefaultTargetFormat='pdf' 14 let g:livepreview_engine = 'pdflatex' 15 "let g:livepreview_previewer = 'mupdf' 16 let g:livepreview_previewer = 'open -a Preview' 17 set nu

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 16:51:54) Garbage after option argument: "-version" More info with: "vim -h"

# output of `vim --version`

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18) Copyright (C) 2007 Free Software Foundation, Inc.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed. Thanks for contributing to vim-llp!