X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=jmax-bibtex.el;h=67cd11e764f686514281efad36514d152903748d;hp=481916716231fddad9e06a8882b3c0cedf988664;hb=b364e49eb183d660d9adb4267bc962b9e98183ae;hpb=d913795f9c55ad0ed55db2e30552d9523b01e115 diff --git a/jmax-bibtex.el b/jmax-bibtex.el index 4819167..67cd11e 100644 --- a/jmax-bibtex.el +++ b/jmax-bibtex.el @@ -1,7 +1,7 @@ ;;; jmax-bibtex.el --- jmax-bibtex utilities ;;; Commentary: -;; Requires: s.el, dash.el, org-ref.el, doi-utils.el +;; Requires: s.el, dash.el, org-ref.el, doi-utils.el, key-chord.el ;;; Code: @@ -423,6 +423,7 @@ N is a prefix argument. If it is numeric, jump that many entries back." ;; hydra menu for actions on bibtex entries +(require 'key-chord) (key-chord-define-global "jj" (defhydra jmax-bibtex-hydra (:color blue) @@ -468,8 +469,8 @@ _U_: Update entry _N_: Open notes _R_: Crossref _g_: Google Sch ("e" email-bibtex-entry) ("U" (doi-utils-update-bibtex-entry-from-doi (jmax-bibtex-entry-doi))))) -;; A hydra for adding new bibtex entries. +;; A hydra for adding new bibtex entries. (defhydra jmax-bibtex-new-entry (:color blue) "New Bibtex entry:" ("a" bibtex-Article "Article") @@ -487,9 +488,6 @@ _U_: Update entry _N_: Open notes _R_: Crossref _g_: Google Sch ("c" bibtex-InCollection "Article in collection")) - - - (defvar jmax-bibtex-menu-funcs '() "Functions to run in doi menu. Each entry is a list of (key menu-name function). The function must take one argument, the doi.")