Add key binding for ag-project

This commit is contained in:
Gergely Polonkai 2017-09-22 13:48:32 +02:00
parent 58c254c89c
commit 535617dde3
1 changed files with 6 additions and 0 deletions

View File

@ -1065,6 +1065,12 @@ INFO plist."
(convert-standard-filename (convert-standard-filename
"/orgmode/bibtex-pdfs")))) "/orgmode/bibtex-pdfs"))))
(use-package ag
:after projectile
:bind
(:map projectile-mode-map
("C-c p C-a" . ag-project)))
;; open pdf with system pdf viewer (works on mac) ;; open pdf with system pdf viewer (works on mac)
(setq bibtex-completion-pdf-open-function (setq bibtex-completion-pdf-open-function
(lambda (fpath) (lambda (fpath)