Add "Open arXiv" action to cite context menu#2082
Add "Open arXiv" action to cite context menu#2082lervag merged 2 commits intolervag:masterfrom postylem:patch-1
Conversation
Thanks, that's useful!
This works fine! From my point of view, the only important procedure is that the communication of ideas and issues are clear, and by submitting a PR like this you make it perfectly clear what you want and you even propose a solution. It doesn't get much better than that. :) I did make some changes before I merged:
|
|
Ok I see thanks for the tips. I’ll obey the style if I make any further PRs. This is my first foray into vimscript so to be honest I wasn’t sure how to break long lines. |
|
No problem :) |
Makes a new item to the VimtexContextMenu, so when doing
<localleader>laon a citation, you get the option to open it on arXiv.org if the citation is an arXiv preprint.This PR is just something I had done in my own branch so I could use it. I thought I'd make it available to others this way. I hope I'm following the correct procedure here (should I have suggested it in an issue first? I don't know the etiquette. Should I have created some tests too? It worked for me with the following citations).