From f8326f6fb04709b46cdb5727835595d21a181241 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 11 Apr 2021 02:04:41 +0800 Subject: Scroll to left and right This comes in handy when one enlarges the PDF image. * pdf.el (pdf-view-mode-map): --- pdf.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pdf.el') diff --git a/pdf.el b/pdf.el index 82bcc2b..f595e7b 100644 --- a/pdf.el +++ b/pdf.el @@ -49,6 +49,8 @@ (define-key pdf-view-mode-map (vector ?d) #'pdf-view-up-half-page-or-next-page) (define-key pdf-view-mode-map (vector ?u) #'pdf-view-down-half-page-or-previous-page) (define-key pdf-view-mode-map (vector 'tab) #'pdf-view-page-position) +(define-key pdf-view-mode-map (vector ?\C-<) #'image-scroll-left) +(define-key pdf-view-mode-map (vector ?\C->) #'image-scroll-right) (use-package "pdf-tools/lisp" 'pdf-history) (use-package "pdf-tools/lisp" 'pdf-links) -- cgit v1.2.3-18-g5258