4 ms·
Tried this the other day but couldn't figure out how to use it. Is it invoked from eshell, dired, a pdftool buffer, or what?
by nanna 4y ago
Tried this the other day but couldn't figure out how to use it. Is it invoked from eshell, dired, a pdftool buffer, or what?
- donio 4y agoMake sure to turn on pdfgrep-mode (a global minor mode, its role is to advise compilation-mode to make it deal with pdfgrep output) and then run M-x pdfgrep with a syntax similar to M-x grep, so you need to specify the filename(s) to grep in. A full arg list after M-x pdfgrep will be something like: pdfgrep -H -n -i points rulebooks/Tzolkin*pdf You don't need to be in a pdf buffer to invoke it. Here is what I have in my .emacs: (use-package pdfgrep :config (pdfgrep-mode))