pdfgrep
pdfgrep copied to clipboard
Insert buffer-file-name as FILE if pdf-view-mode is active
- checks if pdf-view-mode is active
- if it's active it inserts the file name of the currently loaded pdf as PATTERN
@jeremy-compostella I know the code could be cleaner but I wanted to first check if you are generally interested in this change?
I like the idea so go ahead and make it cleaner.
Also, we support both doc-view-mode and pdf-view-mode.
@jeremy-compostella Ready for review.