From 0869fea97f8813f6259ae93449e511a41cbe71a0 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 10 Feb 2024 15:39:57 -0800 Subject: [PATCH] Change isearch-forward and isearch-backward bind in pdf-tools --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index ab38d1e..0634c5a 100644 --- a/init.el +++ b/init.el @@ -787,6 +787,9 @@ COMMAND and COMINT are like `compile'." (setq pdf-misc-print-program-executable "lp") (defun my/setup-pdf-view-mode () (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)) (pdf-tools-install))