Make image-map bindings available on image links
* lisp/net/shr.el (shr-map): Move shr-browse-image to "M-i". * lisp/net/eww.el (eww-image-link-keymap): Use shr-image-map.
This commit is contained in:
@@ -326,7 +326,7 @@ parameter, and should return the (possibly) transformed URL."
|
|||||||
"<mouse-2>" #'eww-follow-link)
|
"<mouse-2>" #'eww-follow-link)
|
||||||
|
|
||||||
(defvar-keymap eww-image-link-keymap
|
(defvar-keymap eww-image-link-keymap
|
||||||
:parent shr-map
|
:parent shr-image-map
|
||||||
"RET" #'eww-follow-link)
|
"RET" #'eww-follow-link)
|
||||||
|
|
||||||
(defun eww-suggested-uris nil
|
(defun eww-suggested-uris nil
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ and other things:
|
|||||||
|
|
||||||
(defvar-keymap shr-map
|
(defvar-keymap shr-map
|
||||||
"a" #'shr-show-alt-text
|
"a" #'shr-show-alt-text
|
||||||
"i" #'shr-browse-image
|
"M-i" #'shr-browse-image
|
||||||
"z" #'shr-zoom-image
|
"z" #'shr-zoom-image
|
||||||
"TAB" #'shr-next-link
|
"TAB" #'shr-next-link
|
||||||
"C-M-i" #'shr-previous-link
|
"C-M-i" #'shr-previous-link
|
||||||
|
|||||||
Reference in New Issue
Block a user