-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix inverse synctex problem Issue #15 #23
Conversation
I don't understand the point of either change. The only difference is between |
I don't know how theses changes make it work either. What I can confirm is that both changes is necessary for me. After making it work, I tried to read the neovim doc, but remained confused. 2 people have given me 👍🏻️ and 🚀️ for my solution in #15 so I think it also works for them and I make this pull request. Maybe we can ask other people there whether this also work for them. (BTW, respect for making such a great latex tool.) |
Also vimtex sioyek configuration use |
I'm not comfortable merging a pull request when I don't understand the problem the request is supposed to solve, cannot replicate it myself, and the changes seem to actually make things worse. Why load an entire configuration file before enacting the script's function when there is no need to? That'll just slow it down. Why not silence output that cannot be seen anyway? Again, leaving that output unsilenced is just likely to slow things down. I made the choices I did for a reason, and I can't figure out why those choices are bad, so I just don't feel comfortable making changes. Sorry -- I know you mean well -- but I don't see why vimtex doing something a certain way is of any relevance at all. |
Nice to see your response. I doubt the problem may relate to whether the lua module textopdfviewerlaunch = "sioyek %outputfile% --inverse-search 'nvim --headless -es --cmd \"set rtp+=~/.cache/vimfiles/repos/github.com/frabjous/knap/\" --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%1'\"'\"',%2,%3)\"' ", I think the problem relates to how I the package managers load plugins. I am using SpaceVim, which uses dein.vim as the plugin manager. |
Nice to see your response. I doubt the problem may relate to whether the lua module textopdfviewerlaunch = "sioyek %outputfile% --inverse-search 'nvim --headless -es --cmd \"set rtp+=~/.cache/vimfiles/repos/github.com/frabjous/knap/\" --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%1'\"'\"',%2,%3)\"' ", I think the problem relates to how I the package managers load plugins. I am using SpaceVim, which use dein.vim as plugin manager. |
…ovim window using xdotool when jump to source
Sorry it's taken me awhile to look at this. As a matter of principle, I'd strongly prefer not to hard code names of external programs in the main code like However, I'm not really using this plugin at all any more. If you wanted to take over the project, I'd consider handing it over. (You can change the name!) |
Fix #15.
The change is the parameters for
nvim
:-es
is drop and--cmd
is changed to-c
. Both changes are necessary.I don't know exactly which parameters do what. I just tune and get it. Please kindly check whether I will mess up other things.