diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-18 00:48:07 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-18 00:48:07 +0100 |
commit | ac7f1846c6df82133199310789782a7a9d179b76 (patch) | |
tree | 8783c79caae7187a1b86a33b7bd7da55ca9970be /Emacs/.config/emacs/config.org | |
parent | ae449ded4258651b8adbd88590a2c4bf94811e66 (diff) | |
download | dotfiles-ac7f1846c6df82133199310789782a7a9d179b76.tar.gz dotfiles-ac7f1846c6df82133199310789782a7a9d179b76.tar.bz2 dotfiles-ac7f1846c6df82133199310789782a7a9d179b76.zip |
+pdfgrep
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
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index c3a274f..7ec0a2c 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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 |