Backward Search in command line on MacOS - lervag/vimtex GitHub Wiki

Configure Skim as follows:

Settings (CMD+') --> Sync:

PDF-Tex Sync Support:

Preset: Custom
Command: nvim
Arguments: --headless -c "VimtexInverseSearch %line '%file'"

image

Use CMD+SHIFT+Left Click to perform a backward search on the text under the cursor in a Skim instance initiated from neovim.