summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-03 12:32:02 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-03 12:32:02 +0800
commita1fe20b19a0438b2c694137d6bd93d9ea8032c08 (patch)
treeb9665d39b1269b7098c5c91f7e6895f914447493
parentc4db065b93ff6eda371054bccc93ed485f90dde7 (diff)
view: Bind 'J' to `jump-to-register`
It is quite convenient.
-rw-r--r--view-conf.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/view-conf.el b/view-conf.el
index 9837079..d2f0838 100644
--- a/view-conf.el
+++ b/view-conf.el
@@ -133,6 +133,7 @@ If ARG is '(16), view the battery information."
(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 view-mode-map (vector ?J) #'jump-to-register)
(define-key global-map (vector 3 118) durand-view-map)
;;; Open things