Pdfgrep is the ultimate solution for searching pdfs easily. Using it
in Emacs is a plus, and it creates a buffer that ends in grep so it
follows my window management rules
This commit is contained in:
2020-08-18 00:48:07 +01:00
parent ae449ded42
commit ac7f1846c6

View File

@@ -867,6 +867,20 @@ provides a setup for this mode, so use that.
(pdf-tools-install)
(evil-collection-pdf-setup))
#+end_src
*** PDF grep
PDF grep is a Linux tool that allows for searches against PDFs similar
to standard grep (but for PDFs!). It's a bit badly configured (why not
use the current buffer?) but it works out.
#+begin_src emacs-lisp
(use-package pdfgrep
:hook (pdf-view-mode . pdfgrep-mode)
:after pdf-tools
:general
(general-def
:states 'normal
:keymaps 'pdf-view-mode-hook
"M-g" #'pdfgrep))
#+end_src
* Org
** Org default with evil
Setup for org mode, currently basically nothing. Has evil-org for