summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-11-22 15:38:58 +0800
committerJSDurand <mmemmew@gmail.com>2022-11-22 15:38:58 +0800
commitc7771087579d53490c7fc47c78578d64e3c88d5e (patch)
treed2b63d04822275afe5f765033e30aa623505e0b0
parent91189839ab886c5bae07c7deab6a2384f5a37771 (diff)
pdf: bing image-bob and image-eob
* pdf.el (pdf-view-mode-map): I updated the pdf-tools package. For some reason the new version does not bind `image-bob' and `image-eob' to '<' and '>' respectively by default, so I bind it here.
-rw-r--r--pdf.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf.el b/pdf.el
index 47f4ce1..2ef410c 100644
--- a/pdf.el
+++ b/pdf.el
@@ -85,6 +85,8 @@ Modifed by Durand 2021-07-27 10:42:02.828266."
(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)
+(define-key pdf-view-mode-map (vector ?>) #'image-eob)
+(define-key pdf-view-mode-map (vector ?<) #'image-bob)
(use-package "pdf-tools/lisp" 'pdf-history)
(use-package "pdf-tools/lisp" 'pdf-links)