jdhao / jdhao.github.io

My personal blog: https://jdhao.github.io/
24 stars 6 forks source link

2021/02/20/inverse_search_setup_neovim_vimtex/ #42

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Set up Inverse Search for LaTeX with VimteX and Neovim - jdhao's blog

Update log 2021-10-22: Update the script to write server name. 2021-10-10: Fix typo and minor tweak. Since --remote option hasn’t been restored by Neovim, it is actually not very straightforward to set up inverse search for PDF files when we are editing large LaTeX files with the help of VimTeX. I spend some time figuring out how to do it on both Windows and macOS and succeed. I thought it would be helpful for people looking for the solution.

https://jdhao.github.io/2021/02/20/inverse_search_setup_neovim_vimtex/

dnaaun commented 2 years ago

Thanks a bunch! This is really helpful.

jdhao commented 2 years ago

Thanks a bunch! This is really helpful.

VimTex now has a new way of doing inverse search, but I have not checked it.

Edit: for the details, see :h :VimtexInverseSearch.

dr563105 commented 2 years ago

Indeed. For Mac and Skim, there is no need for neovim-remote or lengthy hacks. Just view_method in init.vim and the setting inside Skim's preferences as mentioned in :h :VimtexInverseSearch. Now it is so easy. I even wrote a blog post on it -- https://dr563105.github.io/blog/skim-vimtex-setup/ . You feedback is appreciated.

sqrt0b1000 commented 1 year ago

Thanks so much!