Open rhaynes74 opened 2 years ago
Nice idea. First impression: this should be relatively simply by defining a new action that combines the two existing actions for notes and PDFs into one with some additional code that creates the necessary windows side by side. Look at the existing code and see whether you can adapt it.
This will be indeed a nice feature,
In case it might be useful, the following works for me, although I'm afraid is not going to be very neat...
(defun bibtex-completion-open-pdf-and-notes (keys)
"Open pdf and notes side by side."
(bibtex-completion-edit-notes keys)
(setq MYNAME (s-replace ")" "" (s-replace "(" "" (format "%s" keys))))
(find-file-other-window (concat bibtex-completion-library-path MYNAME ".pdf")))
(helm-bibtex-helmify-action bibtex-completion-open-pdf-and-notes helm-bibtex-open-pdf-and-notes)
(helm-add-action-to-source
"Open pdf and notes side-by-side" 'helm-bibtex-open-pdf-and-notes
helm-source-bibtex 13)
Hi folks, is it possible to have helm-bibtex make available an option that would "edit notes" and "open pdf" side by side with helm-bibtex?
I know org-noter does something like this but I would like to stay within the helm-bibtex framework.