Bind mouse buttons to next/previous page in doc-view-mode

This commit is contained in:
Evie Litherland-Smith 2024-01-21 11:32:17 +00:00
parent cd381b015c
commit 8470c696dc

View file

@ -1420,6 +1420,9 @@ Set fill column to 88 and enable display in python buffers
(use-package doc-view (use-package doc-view
:defer t :defer t
:ensure t :ensure t
:bind ( :map doc-view-mode-map
("<mouse-8>" . doc-view-previous-page)
("<mouse-9>" . doc-view-next-page))
:custom :custom
(doc-view-resolution 200) (doc-view-resolution 200)
(doc-view-imenu-enabled t) (doc-view-imenu-enabled t)