emacs-citar / citar

Emacs package to quickly find and act on bibliographic references, and edit org, markdown, and latex academic documents.
GNU General Public License v3.0
479 stars 53 forks source link

(How to?) add a direct call to `citar-file-open-external` from citar's "menu" #827

Closed JonatanSahar closed 3 months ago

JonatanSahar commented 3 months ago

Is your feature request related to a problem? Please describe. I often want to open a citation's pdf in an external program. currently I've added citar-file-open-external to embark actions on the file as it appears after I call citar-open, but this is quite a lot of keystrokes.

Describe the solution you'd like A function that calls citar-file-open-external on the citation at point, or a snippet that shows how to do so

Describe alternatives you've considered I've bound citar-file-open-external in citar-citation-map, but I don't know how to pass it the citekey it needs in order to work.