Skip to content

Instantly share code, notes, and snippets.

@jamestrimble
Created January 13, 2017 20:36
Show Gist options
  • Save jamestrimble/a5734561033e566f9c3748f55b3f4566 to your computer and use it in GitHub Desktop.
Save jamestrimble/a5734561033e566f9c3748f55b3f4566 to your computer and use it in GitHub Desktop.
Open the saved PDF of a paper by typing Ctrl-P when the cursor is over a reference in a BibTex or LaTeX file
nnoremap <C-P> :!evince ~/Papers/pdf/<cfile>:t.pdf &<CR>
@jamestrimble
Copy link
Author

If your BibTex reference is called abc, the PDF should be saved as ~/Papers/pdf/abc.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment