summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-08-09 11:22:56 +0800
committerJSDurand <mmemmew@gmail.com>2021-08-09 11:22:56 +0800
commit136e040593d3dc3a142ddd507146b6ee34a975d2 (patch)
tree94f990b4612cf3c079766efba053da66621a0af9
parent885d02b406d882a332362479bef53dd874ab0edd (diff)
new: view pages
* view-conf.el (view-mode-map): Bind M-n/p to forward/backward-page commands.
-rw-r--r--view-conf.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/view-conf.el b/view-conf.el
index 99f1f54..ae53f1a 100644
--- a/view-conf.el
+++ b/view-conf.el
@@ -122,6 +122,8 @@ If ARG is '(16), view the battery information."
(define-key view-mode-map (vector ?j) #'View-scroll-line-forward)
(define-key view-mode-map (vector ?k) #'View-scroll-line-backward)
+(define-key view-mode-map (vector ?\M-n) #'forward-page)
+(define-key view-mode-map (vector ?\M-p) #'backward-page)
(define-key global-map (vector 3 118) durand-view-map)
;;; Open things