Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
highjeans opened this issue Oct 24, 2024 · 5 comments

Comments

@highjeans
Copy link

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
Copy link
Author

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?

@f3fora
Copy link
Owner

f3fora commented Nov 7, 2024

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.

@highjeans
Copy link
Author

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

@winstxnhdw
Copy link

Looks like the same problem I had while writing #21

@highjeans
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants