image-mode-map
image-mode-map is a variable defined in `
image-mode.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Mode keymap for `image-mode'.
Value:
(keymap
(menu-bar keymap
(Image menu-item "Image"
(keymap "Image"
(Show\ as\ Text menu-item "Show as Text" image-toggle-display :help "Show image as text")
(nil-7 menu-item "--")
(Fit\ to\ Window\ Height menu-item "Fit to Window Height" image-transform-fit-to-height :visible
(eq image-type 'imagemagick)
:help "Resize image to match the window height")
(Fit\ to\ Window\ Width menu-item "Fit to Window Width" image-transform-fit-to-width :visible
(eq image-type 'imagemagick)
:help "Resize image to match the window width")
(Rotate\ Image\.\.\. menu-item "Rotate Image..." image-transform-set-rotation :visible
(eq image-type 'imagemagick)
:help "Rotate the image")
(Reset\ Transformations menu-item "Reset Transformations" image-transform-reset :visible
(eq image-type 'imagemagick)
:help "Reset all image transformations")
(nil-7-6 menu-item "--")
(Show\ Thumbnails menu-item "Show Thumbnails" menu-function-119 :key-sequence nil :enable default-directory :help "Show thumbnails for all images in this directory")
(Next\ Image menu-item "Next Image" image-next-file :enable buffer-file-name :help "Move to next image in this directory")
(Previous\ Image menu-item "Previous Image" image-previous-file :enable buffer-file-name :help "Move to previous image in this directory")
(nil-7-10 menu-item "--")
(Fit\ Frame\ to\ Image menu-item "Fit Frame to Image" image-mode-fit-frame :help "Resize frame to match image")
(nil-7-12 menu-item "--")
(Animate\ Image menu-item "Animate Image" image-toggle-animation :enable image-multi-frame :button
(:toggle let
((image
(image-get-display-property)))
(and image
(image-animate-timer image)))
:help "Toggle image animation")
(Loop\ Animation menu-item "Loop Animation" menu-function-120 :key-sequence nil :enable image-multi-frame :button
(:toggle . image-animate-loop)
:help "Animate images once, or forever?")
(Reverse\ Animation menu-item "Reverse Animation" image-reverse-speed :enable image-multi-frame :button
(:toggle let
((image
(image-get-display-property)))
(and image
(<
(image-animate-get-speed image)
0)))
:help "Reverse direction of this image's animation?")
(Speed\ Up\ Animation menu-item "Speed Up Animation" image-increase-speed :enable image-multi-frame :help "Speed up this image's animation")
(Slow\ Down\ Animation menu-item "Slow Down Animation" image-decrease-speed :enable image-multi-frame :help "Slow down this image's animation")
(Reset\ Animation\ Speed menu-item "Reset Animation Speed" image-reset-speed :enable image-multi-frame :help "Reset the speed of this image's animation")
(Next\ Frame menu-item "Next Frame" image-next-frame :enable image-multi-frame :help "Show the next frame of this image")
(Previous\ Frame menu-item "Previous Frame" image-previous-frame :enable image-multi-frame :help "Show the previous frame of this image")
(Goto\ Frame\.\.\. menu-item "Goto Frame..." image-goto-frame :enable image-multi-frame :help "Show a specific frame of this image"))))
(remap keymap
(end-of-buffer . image-eob)
(beginning-of-buffer . image-bob)
(move-end-of-line . image-eol)
(move-beginning-of-line . image-bol)
(scroll-down-command . image-scroll-down)
(scroll-up-command . image-scroll-up)
(scroll-down . image-scroll-down)
(scroll-up . image-scroll-up)
(next-line . image-next-line)
(previous-line . image-previous-line)
(left-char . image-backward-hscroll)
(right-char . image-forward-hscroll)
(backward-char . image-backward-hscroll)
(forward-char . image-forward-hscroll))
(97 keymap
(114 . image-reverse-speed)
(48 . image-reset-speed)
(45 . image-decrease-speed)
(43 . image-increase-speed))
(112 . image-previous-file)
(110 . image-next-file)
(98 . image-previous-frame)
(102 . image-next-frame)
(70 . image-goto-frame)
(13 . image-toggle-animation)
(127 . image-scroll-down)
(33554464 . image-scroll-down)
(32 . image-scroll-up)
(3 keymap
(3 . image-toggle-display))
keymap
(103 . revert-buffer)
(60 . beginning-of-buffer)
(62 . end-of-buffer)
(104 . describe-mode)
(63 . describe-mode)
(127 . scroll-down-command)
(33554464 . scroll-down-command)
(32 . scroll-up-command)
(113 . quit-window)
(57 . digit-argument)
(56 . digit-argument)
(55 . digit-argument)
(54 . digit-argument)
(53 . digit-argument)
(52 . digit-argument)
(51 . digit-argument)
(50 . digit-argument)
(49 . digit-argument)
(48 . digit-argument)
(45 . negative-argument)
(remap keymap
(self-insert-command . undefined)))