Change isearch-forward and isearch-backward bind in pdf-tools

This commit is contained in:
Alexander Rosenberg 2024-02-10 15:39:57 -08:00
parent 747c35b12a
commit 0869fea97f
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -787,6 +787,9 @@ COMMAND and COMINT are like `compile'."
(setq pdf-misc-print-program-executable "lp") (setq pdf-misc-print-program-executable "lp")
(defun my/setup-pdf-view-mode () (defun my/setup-pdf-view-mode ()
(display-line-numbers-mode -1) (display-line-numbers-mode -1)
(evil-define-key '(motion normal visual) 'local
(kbd "C-s") #'isearch-forward
(kbd "C-r") #'isearch-backward)
(setq-local cursor-type nil)) (setq-local cursor-type nil))
(pdf-tools-install)) (pdf-tools-install))