From 25bde51ba7a8e61e24f60f23c97178d9fe914c37 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Tue, 21 Nov 2023 01:43:10 -0500 Subject: Set keybind for pdf-occur --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 3918da0..a213686 100644 --- a/init.el +++ b/init.el @@ -880,9 +880,11 @@ pdf-view-use-scaling nil doc-view-resolution 300 pdf-view-midnight-colors - `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background)) + `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background) + pdf-occur-search-batch-size 1) :hook (pdf-view-mode . pdf-view-themed-minor-mode)) (require 'pdf-tools) +(define-key pdf-view-mode-map (kbd "M-s o") 'pdf-occur) ;; --------------------------------- -- cgit v1.2.3