diff options
author | JSDurand <mmemmew@gmail.com> | 2021-04-11 02:04:41 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-04-11 02:04:41 +0800 |
commit | f8326f6fb04709b46cdb5727835595d21a181241 (patch) | |
tree | 5713a625bc72107359f09a4e9f950b41e89b80a0 | |
parent | 79e1c7bd2cd833d733a365ffd13a0f28cd604bec (diff) |
Scroll to left and right
This comes in handy when one enlarges the PDF image.
* pdf.el (pdf-view-mode-map):
-rw-r--r-- | pdf.el | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |