]> git.donarmstrong.com Git - org-ref.git/blobdiff - org-ref.org
switch alternative cite selection to helm
[org-ref.git] / org-ref.org
index 4276b0d48a61bb6e8927aa303c11ec101947f715..7f13af029ba26b9c2fa80fe4fbcb97499bacb40d 100644 (file)
@@ -2822,12 +2822,15 @@ Technically, this function should return a string that is inserted by helm. This
      (t
       (insert
        (concat (if helm-current-prefix-arg
+                  (helm :sources `((name . "link types")
+                                   (candidates . ,org-ref-cite-types)
+                                   (action . (lambda (x) x))))
                   (ido-completing-read "Type: " org-ref-cite-types)
                org-ref-default-citation-link)
               ":"
               (s-join "," keys))))))
-;; return empty string for helm
-"")
+  ;; return empty string for helm
+  "")
 
 (setq helm-bibtex-format-citation-functions
       '((org-mode . helm-bibtex-format-org-ref)))