emacs: pdf-tools: add "C-s" and "s s" bindings for isearch-forward
authorAmin Bandali <bandali@gnu.org>
Sun, 29 Sep 2019 16:10:25 +0000 (12:10 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 29 Sep 2019 16:10:25 +0000 (12:10 -0400)
.emacs.d/init.el

index 7b8cf94..10d84dd 100644 (file)
@@ -1938,7 +1938,9 @@ This function is intended for use with `ivy-ignore-buffers'."
               ("<C-XF86Forward>" . pdf-history-forward)
               ("<mouse-9>"       . pdf-history-forward)
               ("<drag-mouse-9>"  . pdf-history-forward)
               ("<C-XF86Forward>" . pdf-history-forward)
               ("<mouse-9>"       . pdf-history-forward)
               ("<drag-mouse-9>"  . pdf-history-forward)
-              ("M-RET"           . image-previous-line))
+              ("M-RET"           . image-previous-line)
+              ("C-s"             . isearch-forward)
+              ("s s"             . isearch-forward))
   :config (pdf-tools-install nil t)
   :custom (pdf-view-resize-factor 1.05))
 
   :config (pdf-tools-install nil t)
   :custom (pdf-view-resize-factor 1.05))