I want to "mark"move multiple images at a time, so I am "marking" the thumbnailed images with image-dired-mark-thumb-original-file
, which marks the associated file in the dired buffer. After this, and then rename/moveI can move all of the marked files as usual in theusing dired buffer.
(add-hook 'image-dired-thumbnail-mode-hook
(lambda ()
(define-key image-dired-thumbnail-mode-map "l" 'image-dired-forward-image)
(define-key image-dired-thumbnail-mode-map "h" 'image-dired-backward-image)
(define-key image-dired-thumbnail-mode-map "u" 'image-dired-unmark-thumb-original-file)
(define-key image-dired-thumbnail-mode-map "m" 'image-dired-mark-thumb-original-file)
)
)
ButI also tried substituting image-dired-thumbnail-mode-map"l"
does not seem to be defined. Restarting Emacs gives me this error:with emacs symbols value(kbd as"l")
, but no success. I am still getting the same issue, where my mode help menu lists the key bindings as currently variableshadowed isby void:another image-dired-thumbnail-mode
. C-maph m
shows the same conflicts:
h image-dired-backward-image
(that binding is currently shadowed by another mode)
l image-dired-forward-image
(that binding is currently shadowed by another mode)
Do I need to instantiate image-dired-thumbnail-mode-map
somehowAny suggestions? My code above was influenced by this documentation as well, so I don't understand why I am getting an error.