summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-04-18 19:26:25 -0400
committerAmin Bandali <bandali@gnu.org>2019-04-18 19:26:25 -0400
commitabef7fd06df3eb0cae53b8f6c14171ab71ff8cd9 (patch)
treeb24de8490202c87db25005040ce04d4b4c98da87
parent06578d9f987264a5fe798560acd253d99291601b (diff)
downloadconfigs-abef7fd06df3eb0cae53b8f6c14171ab71ff8cd9.tar.gz
configs-abef7fd06df3eb0cae53b8f6c14171ab71ff8cd9.tar.xz
configs-abef7fd06df3eb0cae53b8f6c14171ab71ff8cd9.zip
emacs: add M-RET binding in DocView for scrolling up
just like in Gnus
-rw-r--r--.emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 77d5144..4f782c6 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -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