associated Dired buffer, and is bound to 'U' in the thumbnail and
display buffer.
+---
+*** New command 'image-dired-copy-filename-as-kill'.
+It copies the name of the marked or current image to the kill ring,
+and is bound to "w" in the thumbnail buffer.
+
---
*** New command 'image-dired-wallpaper-set'.
This command sets the desktop background to the image at point in the
"SPC" #'image-dired-display-next-thumbnail-original
"DEL" #'image-dired-display-previous-thumbnail-original
"c" #'image-dired-comment-thumbnail
+ "w" #'image-dired-copy-filename-as-kill
"W" #'image-dired-wallpaper-set
;; Mouse
(image-dired-update-property 'comment comment))
(image-dired--update-header-line))
+(defun image-dired-copy-filename-as-kill (&optional arg)
+ "Copy names of marked (or next ARG) files into the kill ring.
+This works as `dired-copy-filename-as-kill' (which see)."
+ (interactive "P" image-dired-thumbnail-mode)
+ (image-dired--with-dired-buffer
+ (dired-copy-filename-as-kill arg)))
+
\f
;;; Mouse support