nvim-texlabconfig icon indicating copy to clipboard operation
nvim-texlabconfig copied to clipboard

'Error when opening file: open ~/.cache/nvim/nvim-texlabconfig.json: no such file or directory' but it exists

Open highjeans opened this issue 1 year ago • 5 comments

I am trying to get inverse search and forward search to work with skim on MacOS with neovim. Forward search works perfectly, but when I try to do an inverse search, skim seems to do nothing. When I run the built executable that is passed to skim, it gives the error Error when opening file: open ~/.cache/nvim/nvim-texlabconfig.json: no such file or directory. However, when I run ls ~/.cache/nvim/ it should that nvim-texlabconfig.json exists. Even if I copy the path from the error and paste it as an argument to vim it opens properly and has text in it. How can I fix this?

highjeans avatar Oct 24 '24 09:10 highjeans

Ok passing in absolute paths make it work properly, but how am I supposed to do this through Skim as its still not doing anything?

highjeans avatar Oct 24 '24 09:10 highjeans

but how am I supposed to do this through Skim as its still not doing anything?

I do not have a mac, so I cannot help you directly. In theory, Inverse search is activated by pressing Shift and Command, then clicking the text you want to search. For more info on inverse search. You should look for synctex in its documentation.

f3fora avatar Nov 07 '24 09:11 f3fora

@f3fora That is what I am currently doing, but it does nothing.

highjeans avatar Nov 07 '24 11:11 highjeans

Looks like the same problem I had while writing #21

winstxnhdw avatar Nov 14 '24 08:11 winstxnhdw

I still don't know what the issue is, but Sioyek works great so I have switched to it. I will keep the issue open in case a fix for this is found.

highjeans avatar Dec 11 '24 14:12 highjeans