adding new biblio module

This commit is contained in:
Bruce D'Arcus 2020-04-09 16:47:48 -04:00
parent 3f4482a225
commit 0c2cebadca
4 changed files with 24 additions and 0 deletions

View file

@ -123,6 +123,11 @@
(:prefix-map ("n" . "notes")
:desc "Search notes for symbol" "." #'+default/search-notes-for-symbol-at-point
:desc "Org agenda" "a" #'org-agenda
(:when (featurep! :tools biblio)
:desc "Bibliographic entries" "b"
(cond ((featurep! :completion ivy) #'ivy-bibtex)
((featurep! :completion helm) #'helm-bibtex)))
:desc "Find file in notes" "f" #'+default/find-in-notes
:desc "Browse notes" "F" #'+default/browse-notes
:desc "Org store link" "l" #'org-store-link

View file

@ -454,6 +454,11 @@
(:prefix-map ("n" . "notes")
:desc "Search notes for symbol" "*" #'+default/search-notes-for-symbol-at-point
:desc "Org agenda" "a" #'org-agenda
(:when (featurep! :tools biblio)
:desc "Bibliographic entries" "b"
(cond ((featurep! :completion ivy) #'ivy-bibtex)
((featurep! :completion helm) #'helm-bibtex)))
:desc "Toggle org-clock" "c" #'+org/toggle-clock
:desc "Cancel org-clock" "C" #'org-clock-cancel
:desc "Open deft" "d" #'deft

View file

@ -0,0 +1,7 @@
;;; tools/biblio/config.el -*- lexical-binding: t; -*-
(use-package! ivy-bibtex
:when (featurep! :completion ivy)
:defer t
:config
(add-to-list 'ivy-re-builders-alist '(ivy-bibtex . ivy--regex-plus)))

View file

@ -0,0 +1,7 @@
;; -*- no-byte-compile: t; -*-
;;; tools/biblio/packages.el
(when (featurep! :completion ivy)
(package! ivy-bibtex :pin "3cff6bd702"))
(when (featurep! :completion helm)
(package! helm-bibtex :pin "3cff6bd702"))