emacs: add M-RET binding in DocView for scrolling up
authorAmin Bandali <bandali@gnu.org>
Thu, 18 Apr 2019 23:26:25 +0000 (19:26 -0400)
committerAmin Bandali <bandali@gnu.org>
Thu, 18 Apr 2019 23:26:25 +0000 (19:26 -0400)
just like in Gnus

.emacs.d/init.org

index 77d5144..4f782c6 100644 (file)
@@ -1315,6 +1315,14 @@ There's no way I could top that, so I won't attempt to.
   :config (dash-enable-font-lock))
 #+end_src
 
+*** DocView
+
+#+begin_src emacs-lisp
+(use-package doc-view
+  :bind (:map doc-view-mode-map
+              ("M-RET" . image-previous-line)))
+#+end_src
+
 * Editing
 :PROPERTIES:
 :CUSTOM_ID: editing