{"action":"created","issue":{"url":"https://api.github.com/repos/lervag/vimtex/issues/1063","repository_url":"https://api.github.com/repos/lervag/vimtex","labels_url":"https://api.github.com/repos/lervag/vimtex/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/lervag/vimtex/issues/1063/comments","events_url":"https://api.github.com/repos/lervag/vimtex/issues/1063/events","html_url":"https://github.com/lervag/vimtex/issues/1063","id":299721725,"number":1063,"title":"zathura compatibility with latexmk setting","user":{"login":"chakravala","id":18372368,"avatar_url":"https://avatars0.githubusercontent.com/u/18372368?v=4","gravatar_id":"","url":"https://api.github.com/users/chakravala","html_url":"https://github.com/chakravala","followers_url":"https://api.github.com/users/chakravala/followers","following_url":"https://api.github.com/users/chakravala/following{/other_user}","gists_url":"https://api.github.com/users/chakravala/gists{/gist_id}","starred_url":"https://api.github.com/users/chakravala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakravala/subscriptions","organizations_url":"https://api.github.com/users/chakravala/orgs","repos_url":"https://api.github.com/users/chakravala/repos","events_url":"https://api.github.com/users/chakravala/events{/privacy}","received_events_url":"https://api.github.com/users/chakravala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T14:05:14Z","updated_at":"2018-02-23T17:00:14Z","closed_at":null,"author_association":"NONE","body":"When I launch vimtex, this is my command for it in `.bashrc`\r\n```bash\r\nalias vimtex='vim --servername vim'\r\n```\r\nthe configuration is `.vimrc`\r\n```vim\r\nlet g:vimtex_view_method = 'zathura'\r\n```\r\nand `.latexmkrc` (not sure if this is needed)\r\n```\r\n$pdf_previewer = \"zathura\"; \r\n```\r\nThis configuration works fine for me, except that when I launch it and press `\\ll` for the first time, zathura is opened and the document is displayed in its previous configuration and then the program freezes for a few seconds, and then it resets the display on zathura with the horizontal scroll reset and a bunch of view settings reset.\r\n\r\nHowever, if I add this to `.vimrc`\r\n```vim\r\nlet g:vimtex_compiler_progname = 'latexmk'\r\n```\r\nthen the issue goes away and when I press `\\ll` the zathura imediately displays the document and does not freeze for a few seconds and **does not** reset my view settings or horizontal scroll config.\r\n\r\n**However** now with this setting I can no longer ctrl+click on zathura to communicate back to vimtex where on what line I want the editing cursor to be placed.\r\n\r\nHow can I make this work using this option? There's probably some simple thing I am overlooking.\r\n\r\nThanks for any assistance.\r\n"},"comment":{"url":"https://api.github.com/repos/lervag/vimtex/issues/comments/368070373","html_url":"https://github.com/lervag/vimtex/issues/1063#issuecomment-368070373","issue_url":"https://api.github.com/repos/lervag/vimtex/issues/1063","id":368070373,"user":{"login":"lervag","id":998898,"avatar_url":"https://avatars1.githubusercontent.com/u/998898?v=4","gravatar_id":"","url":"https://api.github.com/users/lervag","html_url":"https://github.com/lervag","followers_url":"https://api.github.com/users/lervag/followers","following_url":"https://api.github.com/users/lervag/following{/other_user}","gists_url":"https://api.github.com/users/lervag/gists{/gist_id}","starred_url":"https://api.github.com/users/lervag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lervag/subscriptions","organizations_url":"https://api.github.com/users/lervag/orgs","repos_url":"https://api.github.com/users/lervag/repos","events_url":"https://api.github.com/users/lervag/events{/privacy}","received_events_url":"https://api.github.com/users/lervag/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T17:00:14Z","updated_at":"2018-02-23T17:00:14Z","author_association":"OWNER","body":"First,\r\n\r\n```vim\r\nlet g:vimtex_compiler_progname = 'latexmk'\r\n```\r\n\r\ndoes not make any sense. This option is meant to define the name/path to the proper Vim executable for doing remote server/client calls during callbacks.\r\n\r\nI suspect that the `.latexmkrc` is relevant here. Could you check if the problem persists if you remove that line from your `.latexmkrc` file?"}}
{"actor":{"display_login":"lervag"}}